File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
packages/@angular/cli/commands
tests/e2e/tests/commands/completion Expand file tree Collapse file tree 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({
7878 commandOptions . all = ! commandOptions . bash && ! commandOptions . zsh ;
7979
8080 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 $ / ) )
8282 . map ( file => path . parse ( file ) . name )
8383 . filter ( file => {
8484 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