Skip to content

Commit

Permalink
fix: options variable (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmouk authored and ricardogobbosouza committed Oct 25, 2019
1 parent 435dd43 commit 3389aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class StylelintWebpackPlugin {

apply(compiler) {
const context = this.getContext(compiler);
const { options } = this;
const options = { ...this.options };

options.files = arrify(options.files).map((file) =>
join(context, '/', file)
Expand Down

0 comments on commit 3389aec

Please sign in to comment.