Skip to content

Commit

Permalink
fix(help): remove match of *.run.ts files (#3982)
Browse files Browse the repository at this point in the history
  • Loading branch information
equinox authored and hansl committed Jan 13, 2017
1 parent 6d63bb4 commit 7b47753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular-cli/commands/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const HelpCommand = Command.extend({
run: function (commandOptions: any, rawArgs: any) {
let commandFiles = fs.readdirSync(__dirname)
// Remove files that are not JavaScript or Typescript
.filter(file => file.match(/\.(j|t)s$/) && !file.match(/\.d.ts$/))
.filter(file => file.match(/\.(j|t)s$/) && !file.match(/\.d.ts$/) && !file.match(/\.run.ts$/))
.map(file => path.parse(file).name)
.map(file => file.toLowerCase());

Expand Down

0 comments on commit 7b47753

Please sign in to comment.