From c2d19fd6d5c9a5978016b25438416276ecf225db Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Mon, 30 Aug 2021 20:02:37 -0700 Subject: [PATCH] semistandard fixes --- index.js | 2 +- test/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2edc878..be4ec13 100644 --- a/index.js +++ b/index.js @@ -33,7 +33,7 @@ module.exports = function (options, wp, done) { }; options = clone(options) || {}; - const config = options.config || options; + let config = options.config || options; const isInWatchMode = !!options.watch; delete options.watch; diff --git a/test/test.js b/test/test.js index bd54122..69f345d 100644 --- a/test/test.js +++ b/test/test.js @@ -161,7 +161,7 @@ test('no options', function (t) { test('config file path with webpack-stream options', function (t) { t.plan(1); - var stream = webpack({ + const stream = webpack({ quiet: true, config: path.join(base, 'webpack.config.js') });