Skip to content

Commit cd668eb

Browse files
committed
Change warning type
1 parent eaab206 commit cd668eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ function pluckHooks({
647647
} else if (globalPreload) { // TODO(JakobJingleheimer): Remove this when loaders go "stable".
648648
process.emitWarning(
649649
'`globalPreload` has been removed; use `initialize` instead.',
650-
'DeprecationWarning',
650+
'UnsupportedWarning',
651651
);
652652
}
653653

0 commit comments

Comments
 (0)