Skip to content

Commit 51aaf3a

Browse files
author
Jonathan Felchlin
committed
Replacing literal 'build' with buildFolder variable
1 parent a51be95 commit 51aaf3a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/react-dev-utils/printHostingInstructions.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ function printHostingInstructions(
3535
)} field in your ${chalk.cyan('package.json')}.`
3636
);
3737
console.log();
38-
console.log(`The ${chalk.cyan('build')} folder is ready to be deployed.`);
38+
console.log(
39+
`The ${chalk.cyan(buildFolder)} folder is ready to be deployed.`
40+
);
3941
console.log(`To publish it at ${chalk.green(publicUrl)}, run:`);
4042
// If script deploy has been added to package.json, skip the instructions
4143
if (typeof appPackage.scripts.deploy === 'undefined') {
@@ -83,7 +85,9 @@ function printHostingInstructions(
8385
)} field in your ${chalk.cyan('package.json')}.`
8486
);
8587
console.log();
86-
console.log(`The ${chalk.cyan('build')} folder is ready to be deployed.`);
88+
console.log(
89+
`The ${chalk.cyan(buildFolder)} folder is ready to be deployed.`
90+
);
8791
console.log();
8892
} else {
8993
if (publicUrl) {

0 commit comments

Comments
 (0)