Skip to content

Commit

Permalink
Fix lint rule error
Browse files Browse the repository at this point in the history
  • Loading branch information
hoo00nn committed Mar 12, 2024
1 parent 82fd2a1 commit 4c50f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-why/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import _StatoscopeWebpackPlugin from '@statoscope/webpack-plugin'
import { join } from 'node:path'

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

Expand Down

0 comments on commit 4c50f14

Please sign in to comment.