Skip to content

Commit 4c50f14

Browse files
author
hoo00nn
committed
Fix lint rule error
1 parent 82fd2a1 commit 4c50f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webpack-why/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import _StatoscopeWebpackPlugin from '@statoscope/webpack-plugin'
22
import { join } from 'node:path'
33

44
function addStatoscope(limitConfig, check, webpackConfig) {
5-
const StatoscopeWebpackPlugin = _StatoscopeWebpackPlugin.default ?? _StatoscopeWebpackPlugin
5+
let StatoscopeWebpackPlugin = _StatoscopeWebpackPlugin ?? _StatoscopeWebpackPlugin.default;
66
if (limitConfig.why) {
77
let shouldOpen = process.env.NODE_ENV !== 'test' && !limitConfig.saveBundle
88

0 commit comments

Comments
 (0)