This commit is contained in:
Min ho Kim
2019-07-03 23:51:48 +10:00
committed by Nicolò Ribaudo
parent ef3f555be9
commit 0bf0ae3410
20 changed files with 46 additions and 47 deletions

View File

@@ -22,7 +22,7 @@ export function hasMinVersion(minVersion, runtimeVersion) {
// and this fails because a prerelease version can only satisfy a range
// if it is a prerelease within the same major/minor/patch range.
//
// Note: If this is found to have issues, please also revist the logic in
// Note: If this is found to have issues, please also revisit the logic in
// babel-core's availableHelper() API.
if (semver.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`;