Fix babel-eslint version check failing the tests
This commit is contained in:
parent
a8619469bf
commit
bfcf2590eb
@ -8,7 +8,7 @@ const CURRENT_BABEL_VERSION = babelCore.version;
|
||||
const SUPPORTED_BABEL_VERSION_RANGE =
|
||||
packageJson.peerDependencies["@babel/core"];
|
||||
const IS_RUNNING_SUPPORTED_VERSION = semver.satisfies(
|
||||
CURRENT_BABEL_VERSION,
|
||||
semver.coerce(CURRENT_BABEL_VERSION).raw,
|
||||
SUPPORTED_BABEL_VERSION_RANGE,
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user