Skip to content

Commit ae6a2eb

Browse files
dgp1130clydin
authored andcommitted
refactor(@angular/cli): name entry point function
Internal tooling does not like anonymous externs, failing the g3 syncing process: http://sponge2/30b47d1d-0607-425c-bd78-8d5a63af3f2f
1 parent 83eedfa commit ae6a2eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/angular/cli/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export declare class Version {
1616

1717
export declare const VERSION: Version;
1818

19-
export default function (options: { cliArgs: string[] }): Promise<number>;
19+
export default function execute(options: { cliArgs: string[] }): Promise<number>;

‎packages/angular/cli/lib/cli/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { isNodeVersionMinSupported, supportedNodeVersions } from '../../src/util
1818
export { VERSION } from '../../src/utilities/version';
1919

2020
/* eslint-disable no-console */
21-
export default async function (options: { cliArgs: string[] }) {
21+
export default async function execute(options: { cliArgs: string[] }) {
2222
// This node version check ensures that the requirements of the project instance of the CLI are met
2323

2424
if (!isNodeVersionMinSupported()) {

0 commit comments

Comments
 (0)