Skip to content

Commit

Permalink
refactor: remove unnecessary not null check (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo authored and devongovett committed Dec 11, 2018
1 parent a8a8c72 commit 3d58ac0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/watcher/src/options.js
Expand Up @@ -29,10 +29,9 @@ function decode(options) {
for (let index of options._regIndexs) {
options.ignored[index] = new RegExp(options.ignored[index]);
}
delete options._regIndexs;
}

delete options._regIndexs;

return options;
}

Expand Down

0 comments on commit 3d58ac0

Please sign in to comment.