File tree Expand file tree Collapse file tree 6 files changed +8
-9
lines changed
packages/angular/cli/src/commands Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ const packages = require('./packages').packages;
87
87
if ( ! __dirname . match ( new RegExp ( `\\${ path . sep } node_modules\\${ path . sep } ` ) ) ) {
88
88
// We mock the module loader so that we can fake our packages when running locally.
89
89
const Module = require ( 'module' ) ;
90
- const oldLoad = Module . _load ;
91
90
const oldResolve = Module . _resolveFilename ;
92
91
93
92
Module . _resolveFilename = function ( request , parent ) {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class AnalyticsCommandModule extends CommandModule implements CommandModu
27
27
command = 'analytics' ;
28
28
describe =
29
29
'Configures the gathering of Angular CLI usage metrics. See https://angular.io/cli/usage-analytics-gathering' ;
30
- longDescriptionPath ?: string | undefined ;
30
+ longDescriptionPath ?: string ;
31
31
32
32
builder ( localYargs : Argv ) : Argv {
33
33
const subcommands = [
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class AnalyticsInfoCommandModule
20
20
{
21
21
command = 'info' ;
22
22
describe = 'Prints analytics gathering and reporting configuration in the console.' ;
23
- longDescriptionPath ?: string | undefined ;
23
+ longDescriptionPath ?: string ;
24
24
25
25
builder ( localYargs : Argv ) : Argv {
26
26
return localYargs . strict ( ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ abstract class AnalyticsSettingModule
26
26
extends CommandModule < AnalyticsCommandArgs >
27
27
implements CommandModuleImplementation < AnalyticsCommandArgs >
28
28
{
29
- longDescriptionPath ?: string | undefined ;
29
+ longDescriptionPath ?: string ;
30
30
31
31
builder ( localYargs : Argv ) : Argv < AnalyticsCommandArgs > {
32
32
return localYargs
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class DocCommandModule
28
28
aliases = [ 'd' ] ;
29
29
describe =
30
30
'Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.' ;
31
- longDescriptionPath ?: string | undefined ;
31
+ longDescriptionPath ?: string ;
32
32
33
33
builder ( localYargs : Argv ) : Argv < DocCommandArgs > {
34
34
return localYargs
Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ export class E2eCommandModule
17
17
multiTarget = true ;
18
18
override missingErrorTarget = tags . stripIndents `
19
19
Cannot find "e2e" target for the specified project.
20
-
20
+
21
21
You should add a package that implements end-to-end testing capabilities.
22
-
22
+
23
23
For example:
24
24
Cypress: ng add @cypress/schematic
25
25
Nightwatch: ng add @nightwatch/schematics
26
26
WebdriverIO: ng add @wdio/schematics
27
-
27
+
28
28
More options will be added to the list as they become available.
29
29
` ;
30
30
31
31
command = 'e2e [project]' ;
32
32
aliases = [ 'e' ] ;
33
33
describe = 'Builds and serves an Angular application, then runs end-to-end tests.' ;
34
- longDescriptionPath ?: string | undefined ;
34
+ longDescriptionPath ?: string ;
35
35
}
You can’t perform that action at this time.
0 commit comments