We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f67701 commit 4ada534Copy full SHA for 4ada534
bin/kong-dashboard.js
@@ -158,6 +158,11 @@ function start(argv) {
158
terminal.error(error);
159
process.exit(1);
160
}).then((version) => {
161
+ var rcRegex = /rc[\d]{0,}$/;
162
+ if (rcRegex.test(version)) {
163
+ terminal.info("Kong version is a release candidate e.g " + version + ". You may encounter issues");
164
+ version = version.replace(rcRegex, '');
165
+ }
166
if (semver.lt(version, '0.9.0')) {
167
terminal.error("This version of Kong dashboard doesn't support Kong v0.9 and lower.");
168
0 commit comments