Skip to content

Commit

Permalink
Fix --exclude-path feature (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
simnalamburt authored Apr 30, 2020
1 parent d771d23 commit 62ac7a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ if (!args._.length || help) {
process.exit();
}

if (excludePath) {
exclude.push(getExcludeFunction(excludePath, cwd));
}

// Validate command or outpipe is specified.
if (!command.length && !outpipe) {
console.error('Remember to pass the command after "--":');
Expand Down

0 comments on commit 62ac7a1

Please sign in to comment.