Attempt to fix babel's assertVersion(7) from not seeing our 7.#.#.csx-.. as valid version of babel 7
This commit is contained in:
parent
d50037be8f
commit
08550a076c
@ -70,7 +70,7 @@ function assertVersion(range: string | number): void {
|
||||
throw new Error("Expected string or integer value.");
|
||||
}
|
||||
|
||||
if (semver.satisfies(coreVersion, range)) return;
|
||||
if (semver.satisfies(semver.coerce(coreVersion), range)) return;
|
||||
|
||||
const limit = Error.stackTraceLimit;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user