Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic version compare #524

Merged
merged 2 commits into from Apr 9, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev

add check for version history length

  • Loading branch information
christophertino committed Apr 8, 2020
commit 005898e1bdef1f0d3d9a3cca0c5d1ad737ff9bf8
@@ -1490,7 +1490,7 @@ function initializeVersioning() {
}

// Check if the earliest version is < 8.4.2
if (utils.semverCompare(versions[0], '8.4.2') === -1) {
if (versions.length && utils.semverCompare(versions[0], '8.4.2') === -1) {
globals.REQUIRE_LEGACY_OPT_IN = true;
}

ProTip! Use n and p to navigate between commits in a pull request.