From b671fa6f09dc452e5410212c6036355789073758 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 8 May 2018 12:24:02 +0200 Subject: [PATCH] vm: move emitExperimentalWarning This commit moves emitExperimentalWarning into the second object destructoring of require internal/util. --- lib/internal/vm/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/vm/module.js b/lib/internal/vm/module.js index 9e945c45c3de8a..5c8cc27c6042d8 100644 --- a/lib/internal/vm/module.js +++ b/lib/internal/vm/module.js @@ -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 { @@ -16,6 +15,7 @@ const { const { getConstructorOf, customInspectSymbol, + emitExperimentalWarning } = require('internal/util'); const { SafePromise } = require('internal/safe_globals'); const { validateInt32, validateUint32 } = require('internal/validators');