We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9939141 commit fd003faCopy full SHA for fd003fa
lib/commands/init.ts
@@ -2,9 +2,11 @@ export class ProjectInitCommand implements ICommand {
2
public allowedParameters: ICommandParameter[] = [];
3
public enableHooks = false;
4
5
- constructor(private $projectInitService: IProjectInitService) { }
+ constructor(private $logger: ILogger,
6
+ private $projectInitService: IProjectInitService) { }
7
8
public async execute(args: string[]): Promise<void> {
9
+ this.$logger.warn("This command is deprecated and it will be removed in the next major release of NativeScript");
10
return this.$projectInitService.initialize();
11
}
12
0 commit comments