mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-26 10:14:19 +08:00
Fix order of args in tasks/cra test (#6342)
This commit is contained in:
@@ -113,7 +113,7 @@ const args = process.argv.slice(2);
|
||||
// Now run the CRA command
|
||||
const craScriptPath = path.join(packagesDir, 'create-react-app', 'index.js');
|
||||
cp.execSync(
|
||||
`node ${craScriptPath} --scripts-version="${scriptsPath}" ${args.join(' ')}`,
|
||||
`node ${craScriptPath} ${args.join(' ')} --scripts-version="${scriptsPath}"`,
|
||||
{
|
||||
cwd: rootDir,
|
||||
stdio: 'inherit',
|
||||
|
||||
Reference in New Issue
Block a user