File tree 2 files changed +10
-1
lines changed
packages/@angular/cli/commands
tests/e2e/tests/commands/completion
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const CompletionCommand = Command.extend({
78
78
commandOptions . all = ! commandOptions . bash && ! commandOptions . zsh ;
79
79
80
80
const commandFiles = fs . readdirSync ( __dirname )
81
- . filter ( file => file . match ( / \. t s $ / ) && ! file . match ( / \. r u n .t s $ / ) )
81
+ . filter ( file => file . match ( / \. ( j | t ) s $ / ) && ! file . match ( / \. d .t s $ / ) )
82
82
. map ( file => path . parse ( file ) . name )
83
83
. filter ( file => {
84
84
return commandsToIgnore . indexOf ( file ) < 0 ;
Original file line number Diff line number Diff line change
1
+ import { silentNg } from '../../../utils/process' ;
2
+
3
+
4
+ export default function ( ) {
5
+ return Promise . resolve ( )
6
+ . then ( ( ) => silentNg ( 'completion' ) )
7
+ . then ( ( ) => process . chdir ( '/' ) )
8
+ . then ( ( ) => silentNg ( 'completion' ) ) ;
9
+ }
You can’t perform that action at this time.
0 commit comments