Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(cli): fix --exclude command line flag
Browse files Browse the repository at this point in the history
Accidentally got changed to 'excludes'. As discussed earlier, should be single
to be consistent with Karma.

Closes #637
  • Loading branch information
juliemr committed Apr 17, 2014
1 parent 9e426df commit bde56a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ var processFilePatterns_ = function(list) {
if (argv.specs) {
argv.specs = processFilePatterns_(argv.specs);
}
if (argv.excludes) {
argv.excludes = processFilePatterns_(argv.excludes);
if (argv.exclude) {
argv.exclude = processFilePatterns_(argv.exclude);
}

// Use default configuration, if it exists.
Expand Down

0 comments on commit bde56a0

Please sign in to comment.