Skip to content

Commit c2d19fd

Browse files
committed
semistandard fixes
1 parent 7805d59 commit c2d19fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = function (options, wp, done) {
3333
};
3434

3535
options = clone(options) || {};
36-
const config = options.config || options;
36+
let config = options.config || options;
3737

3838
const isInWatchMode = !!options.watch;
3939
delete options.watch;

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ test('no options', function (t) {
161161

162162
test('config file path with webpack-stream options', function (t) {
163163
t.plan(1);
164-
var stream = webpack({
164+
const stream = webpack({
165165
quiet: true,
166166
config: path.join(base, 'webpack.config.js')
167167
});

0 commit comments

Comments
 (0)