Permalink
Browse files

lib: use object destructuring for ContextifyScript

PR-URL: #20934
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
  • Loading branch information...
danbev authored and joyeecheung committed May 24, 2018
1 parent 4f28015 commit ed2a110f916b35a516dda6093b308e21027a92eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/bootstrap/loaders.js
@@ -104,7 +104,7 @@
};
}
const ContextifyScript = process.binding('contextify').ContextifyScript;
const { ContextifyScript } = process.binding('contextify');
// Set up NativeModule
function NativeModule(id) {

0 comments on commit ed2a110

Please sign in to comment.