Skip to content

Commit

Permalink
fix(cli): improve npx cap open message if no platform present (#1654)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 11, 2019
1 parent bbe09b7 commit bf8027c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class Config implements CliConfig {
if (platformName === 'web') {
logFatal(`Could not find the web platform directory. Make sure ${chalk.bold(this.app.webDir)} exists.`);
}
logFatal(`${chalk.bold(platformName)}" platform has not been created. Use "capacitor add ${platformName}" to add the platform project.`);
logFatal(`${chalk.bold(platformName)}" platform has not been created. Use "npx cap add ${platformName}" to add the platform project.`);
}
}

Expand Down

0 comments on commit bf8027c

Please sign in to comment.