Skip to content

Commit e68d83e

Browse files
authored
Fix Typo
1 parent 957ee2a commit e68d83e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/NormalModule.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ class NormalModule extends Module {
156156
emitWarning: warning => {
157157
if (!(warning instanceof Error)) {
158158
warning = new NonErrorEmittedError(warning);
159+
}
159160
const currentLoader = this.getCurrentLoader(loaderContext);
160161
this.warnings.push(
161162
new ModuleWarning(this, warning, {

0 commit comments

Comments
 (0)