Skip to content

Commit be10e63

Browse files
author
Dimitar Tachev
authored
Merge pull request #3988 from NativeScript/tachev/fix-project-created-msg
fix: propose preview instead of run on project creation
2 parents 398ad56 + 383094c commit be10e63

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/commands/create-project.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ or --js flags.)
202202
const { projectDir } = this.createdProjectData;
203203
const relativePath = path.relative(process.cwd(), projectDir);
204204
this.$logger.printMarkdown(`Now you can navigate to your project with \`$ cd ${relativePath}\``);
205-
this.$logger.printMarkdown(`After that you can run it on device/emulator by executing \`$ tns run <platform>\``);
205+
this.$logger.printMarkdown(`After that you can preview it on device by executing \`$ tns preview\``);
206206
}
207207
}
208208

lib/common/services/help-service.ts

-4
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ export class HelpService implements IHelpService {
129129

130130
public async showCommandLineHelp(commandData: ICommandData): Promise<void> {
131131
const help = await this.getCommandLineHelpForCommand(commandData);
132-
if (this.$staticConfig.FULL_CLIENT_NAME) {
133-
this.$logger.info(this.$staticConfig.FULL_CLIENT_NAME.green.bold + EOL);
134-
}
135-
136132
this.$logger.printMarkdown(help);
137133
}
138134

0 commit comments

Comments
 (0)