Skip to content

Commit

Permalink
semistandard fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Aug 31, 2021
1 parent 7805d59 commit c2d19fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
});
Expand Down

0 comments on commit c2d19fd

Please sign in to comment.