Skip to content

Commit e997a25

Browse files
clydinhansl
authored andcommitted
fix(@angular/cli): properly set multi-target command flag
1 parent 7211c1a commit e997a25

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/@angular/cli/commands/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class E2eCommand extends ArchitectCommand {
1313
public readonly description = 'Run e2e tests in existing project.';
1414
public static aliases: string[] = ['e'];
1515
public readonly scope = CommandScope.inProject;
16-
public readonly multiTarget: true;
16+
public readonly multiTarget = true;
1717
public readonly options: Option[] = [
1818
this.prodOption,
1919
this.configurationOption

packages/@angular/cli/commands/eject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default class EjectCommand extends Command {
99
public readonly arguments: string[] = [];
1010
public readonly options: Option[] = [];
1111

12-
run(_options: any) {
12+
run() {
1313
this.logger.info(tags.stripIndents`
1414
The 'eject' command has been temporarily disabled, as it is not yet compatible with the new
1515
angular.json format. The new configuration format provides further flexibility to modify the

packages/@angular/cli/commands/lint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default class LintCommand extends ArchitectCommand {
1212
public readonly description = 'Lints code in existing project.';
1313
public static aliases = ['l'];
1414
public readonly scope = CommandScope.inProject;
15-
public readonly multiTarget: true;
15+
public readonly multiTarget = true;
1616
public readonly options: Option[] = [
1717
this.configurationOption
1818
];

packages/@angular/cli/commands/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class TestCommand extends ArchitectCommand {
1313
public readonly description = 'Run unit tests in existing project.';
1414
public static aliases = ['t'];
1515
public readonly scope = CommandScope.inProject;
16-
public readonly multiTarget: true;
16+
public readonly multiTarget = true;
1717
public readonly options: Option[] = [
1818
this.prodOption,
1919
this.configurationOption

0 commit comments

Comments
 (0)