Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bin/kong-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ function start(argv) {
terminal.error(error);
process.exit(1);
}).then((version) => {
var rcRegex = /rc[\d]{0,}$/;
if (rcRegex.test(version)) {
terminal.warning("Kong version is a release candidate e.g " + version + ". You may encounter issues");
version = version.replace(rcRegex, '');
}
if (semver.lt(version, '0.9.0')) {
terminal.error("This version of Kong dashboard doesn't support Kong v0.9 and lower.");
process.exit(1);
Expand Down