Fix order of args in tasks/cra test (#6342)

This commit is contained in:
gottfired
2019-02-05 08:45:57 +01:00
committed by Brody McKee
parent bacb440748
commit 1648ce8106

View File

@@ -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',