Skip to content

Commit

Permalink
Use yarn in predeploy script if built using yarn (#4623)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier authored and iansu committed Jun 18, 2018
1 parent 3e16544 commit f26ed0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/printHostingInstructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function printDeployInstructions(publicUrl, hasDeployScript, useYarn) {
console.log(` ${chalk.dim('// ...')}`);
console.log(
` ${chalk.yellow('"predeploy"')}: ${chalk.yellow(
'"npm run build",'
`"${useYarn ? 'yarn' : 'npm run'} build",`
)}`
);
console.log(
Expand Down

0 comments on commit f26ed0f

Please sign in to comment.