Skip to content

Commit

Permalink
vm: move emitExperimentalWarning
Browse files Browse the repository at this point in the history
This commit moves emitExperimentalWarning into the second object
destructoring of require internal/util.

PR-URL: nodejs#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]>
  • Loading branch information
danbev authored and addaleax committed May 9, 2018
1 parent 5bb5d61 commit facb2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/vm/module.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

const { internalBinding } = require('internal/bootstrap/loaders');
const { emitExperimentalWarning } = require('internal/util');
const { URL } = require('internal/url');
const { isContext } = process.binding('contextify');
const {
Expand All @@ -16,6 +15,7 @@ const {
const {
getConstructorOf,
customInspectSymbol,
emitExperimentalWarning
} = require('internal/util');
const { SafePromise } = require('internal/safe_globals');
const { validateInt32, validateUint32 } = require('internal/validators');
Expand Down

0 comments on commit facb2c5

Please sign in to comment.