Skip to content

Commit 3389aec

Browse files
ktmoukricardogobbosouza
authored andcommitted
fix: options variable (#193)
1 parent 435dd43 commit 3389aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class StylelintWebpackPlugin {
1313

1414
apply(compiler) {
1515
const context = this.getContext(compiler);
16-
const { options } = this;
16+
const options = { ...this.options };
1717

1818
options.files = arrify(options.files).map((file) =>
1919
join(context, '/', file)

0 commit comments

Comments
 (0)