Skip to content

Commit

Permalink
fix: keep --build flag in deploy message suggestion (#3019)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Jul 27, 2021
1 parent f3d433d commit 952d840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy.js
Expand Up @@ -360,7 +360,7 @@ const printResults = ({ flags, results, deployToProduction, exit }) => {
if (!deployToProduction) {
log()
log('If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.')
log(`${chalk.cyanBright.bold('netlify deploy --prod')}`)
log(`${chalk.cyanBright.bold(`netlify deploy${flags.build ? ' --build' : ''} --prod`)}`)
log()
}
}
Expand Down

1 comment on commit 952d840

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 331 MB

Please sign in to comment.