Skip to content

Commit 26dc4ce

Browse files
catullfilipesilva
authored andcommitted
refactor(commands): more consistent names for command, capitalised camel-cased names.
Close #4157
1 parent c079ccf commit 26dc4ce

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/angular-cli/commands/github-pages-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface GithubPagesDeployOptions {
1515
vendorChunk?: boolean;
1616
}
1717

18-
const githubPagesDeployCommand = Command.extend({
18+
const GithubPagesDeployCommand = Command.extend({
1919
name: 'github-pages:deploy',
2020
aliases: ['gh-pages:deploy'],
2121
description: oneLine`
@@ -87,4 +87,4 @@ const githubPagesDeployCommand = Command.extend({
8787
});
8888

8989

90-
export default githubPagesDeployCommand;
90+
export default GithubPagesDeployCommand;

packages/angular-cli/commands/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const TestCommand = require('../ember-cli/lib/commands/test');
1+
const EmberTestCommand = require('../ember-cli/lib/commands/test');
22
import TestTask from '../tasks/test';
33
import {CliConfig} from '../models/config';
44

@@ -18,7 +18,7 @@ export interface TestOptions {
1818
}
1919

2020

21-
const NgCliTestCommand = TestCommand.extend({
21+
const TestCommand = EmberTestCommand.extend({
2222
availableOptions: [
2323
{ name: 'watch', type: Boolean, default: true, aliases: ['w'] },
2424
{ name: 'code-coverage', type: Boolean, default: false, aliases: ['cc'] },
@@ -50,5 +50,5 @@ const NgCliTestCommand = TestCommand.extend({
5050
}
5151
});
5252

53-
NgCliTestCommand.overrideCore = true;
54-
export default NgCliTestCommand;
53+
TestCommand.overrideCore = true;
54+
export default TestCommand;

0 commit comments

Comments
 (0)