Skip to content

Commit

Permalink
Replacing literal 'build' with buildFolder variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Felchlin committed Aug 31, 2017
1 parent a51be95 commit 51aaf3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/react-dev-utils/printHostingInstructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function printHostingInstructions(
)} field in your ${chalk.cyan('package.json')}.`
);
console.log();
console.log(`The ${chalk.cyan('build')} folder is ready to be deployed.`);
console.log(
`The ${chalk.cyan(buildFolder)} folder is ready to be deployed.`
);
console.log(`To publish it at ${chalk.green(publicUrl)}, run:`);
// If script deploy has been added to package.json, skip the instructions
if (typeof appPackage.scripts.deploy === 'undefined') {
Expand Down Expand Up @@ -83,7 +85,9 @@ function printHostingInstructions(
)} field in your ${chalk.cyan('package.json')}.`
);
console.log();
console.log(`The ${chalk.cyan('build')} folder is ready to be deployed.`);
console.log(
`The ${chalk.cyan(buildFolder)} folder is ready to be deployed.`
);
console.log();
} else {
if (publicUrl) {
Expand Down

0 comments on commit 51aaf3a

Please sign in to comment.