From 15487dac3db17040390d3e00f6e0eecfb2af1820 Mon Sep 17 00:00:00 2001 From: David Xue Date: Fri, 12 Oct 2018 09:35:59 -0700 Subject: [PATCH] loader: migrate to getOptions --- lib/internal/bootstrap/loaders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 359812e1e9e342..b3072a02943b6d 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -212,7 +212,7 @@ NativeModule.isInternal = function(id) { return id.startsWith('internal/') || (id === 'worker_threads' && - !process.binding('config').experimentalWorker); + !internalBinding('options').getOptions('--experimental-worker')); }; }