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 <targos@protonmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
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

Lines changed: 1 addition & 1 deletion
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)