refactor(commands): more consistent names for command, capitalised camel-cased names.

Close #4157
This commit is contained in:
Carlo Dapor 2017-01-22 02:41:03 +01:00 committed by Filipe Silva
parent c079ccf587
commit 26dc4ce497
2 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ export interface GithubPagesDeployOptions {
vendorChunk?: boolean;
}
const githubPagesDeployCommand = Command.extend({
const GithubPagesDeployCommand = Command.extend({
name: 'github-pages:deploy',
aliases: ['gh-pages:deploy'],
description: oneLine`
@ -87,4 +87,4 @@ const githubPagesDeployCommand = Command.extend({
});
export default githubPagesDeployCommand;
export default GithubPagesDeployCommand;

View File

@ -1,4 +1,4 @@
const TestCommand = require('../ember-cli/lib/commands/test');
const EmberTestCommand = require('../ember-cli/lib/commands/test');
import TestTask from '../tasks/test';
import {CliConfig} from '../models/config';
@ -18,7 +18,7 @@ export interface TestOptions {
}
const NgCliTestCommand = TestCommand.extend({
const TestCommand = EmberTestCommand.extend({
availableOptions: [
{ name: 'watch', type: Boolean, default: true, aliases: ['w'] },
{ name: 'code-coverage', type: Boolean, default: false, aliases: ['cc'] },
@ -50,5 +50,5 @@ const NgCliTestCommand = TestCommand.extend({
}
});
NgCliTestCommand.overrideCore = true;
export default NgCliTestCommand;
TestCommand.overrideCore = true;
export default TestCommand;