Skip to content

Commit

Permalink
DevTools: fix Compiler inegration test with 18.2 (facebook#31904)
Browse files Browse the repository at this point in the history
Currently failing with `TypeError: Invalid Version: 19`, looks like I've
overlooked this one in facebook#31241.
  • Loading branch information
hoxyq authored Dec 29, 2024
1 parent 50f00fd commit c01b805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/download_devtools_regression_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit c01b805

Please sign in to comment.