Skip to content

Commit d54f78f

Browse files
committed
Fix tag checking
1 parent 9ce2f9e commit d54f78f

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/sandbox/eval/presets/create-react-app

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/presets/create-react-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function isVersion2(configurations) {
2121
configurations.package.parsed.dependencies['react-scripts'];
2222

2323
return (
24-
/^\w/.test(reactScriptsVersion) ||
24+
/^[a-z]/.test(reactScriptsVersion) ||
2525
semver.intersects(reactScriptsVersion, '^2.0.0')
2626
);
2727
}

0 commit comments

Comments
 (0)