mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
DevTools: fix Compiler inegration test with 18.2 (#31904)
Currently failing with `TypeError: Invalid Version: 19`, looks like I've overlooked this one in https://github.com/facebook/react/pull/31241.
This commit is contained in:
@@ -110,7 +110,7 @@ async function downloadRegressionBuild() {
|
||||
);
|
||||
}
|
||||
|
||||
if (semver.gte(reactVersion, '18.2.0') && semver.lt(reactVersion, '19')) {
|
||||
if (semver.gte(reactVersion, '18.2.0') && semver.lt(reactVersion, '19.0.0')) {
|
||||
console.log(chalk.white(`Downloading react-compiler-runtime\n`));
|
||||
await exec(
|
||||
`npm install --prefix ${REGRESSION_FOLDER} react-compiler-runtime`
|
||||
|
||||
Reference in New Issue
Block a user