Minor typo / grammar

Also, at the end of the build when it says `App is available at:` I think that if https has not yet been enabled for the app concerned, then the link is wrong... it should be http not https.
This commit is contained in:
drmrbrewer
2018-01-29 08:41:21 +00:00
committed by GitHub
parent 509f87a847
commit 02dfb6fa9b
+2 -2
View File
@@ -369,7 +369,7 @@ function sendFileToCaptain(machineToDeploy, zipFileFullPath, appName, gitHash, b
savePropForDirectory(MACHINE_TO_DEPLOY, machineToDeploy);
if (data.status === 100) {
console.log(chalk.green('Deployed successful: ') + appName);
console.log(chalk.green('Deployed successfully: ') + appName);
console.log(' ');
} else if (data.status === 101) {
console.log(chalk.green('Building started: ') + appName);
@@ -455,7 +455,7 @@ function startFetchingBuildLogs(machineToDeploy, appName) {
if (data && !data.isAppBuilding) {
console.log(' ');
if (!data.isBuildFailed) {
console.log(chalk.green('Deployed successful: ') + appName);
console.log(chalk.green('Deployed successfully: ') + appName);
console.log(chalk.magenta('App is available at ') + (machineToDeploy.baseUrl.replace('//captain.', '//' + appName + '.')));
} else {
console.error(chalk.red('\nSomething bad happened. Cannot deploy "' + appName + '"\n'));