Skip to content

Commit 8604481

Browse files
danbevtargos
authored andcommitted
vm: move emitExperimentalWarning
This commit moves emitExperimentalWarning into the second object destructoring of require internal/util. PR-URL: #20593 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 4873fba commit 8604481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/vm/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const { internalBinding } = require('internal/bootstrap/loaders');
4-
const { emitExperimentalWarning } = require('internal/util');
54
const { URL } = require('internal/url');
65
const { isContext } = process.binding('contextify');
76
const {
@@ -17,6 +16,7 @@ const {
1716
const {
1817
getConstructorOf,
1918
customInspectSymbol,
19+
emitExperimentalWarning
2020
} = require('internal/util');
2121
const { SafePromise } = require('internal/safe_globals');
2222

0 commit comments

Comments
 (0)