Skip to content

Commit

Permalink
lib: use object destructuring for ContextifyScript
Browse files Browse the repository at this point in the history
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 MylesBorins committed May 29, 2018
1 parent d7fed22 commit c2c3b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
};
}

const ContextifyScript = process.binding('contextify').ContextifyScript;
const { ContextifyScript } = process.binding('contextify');

// Set up NativeModule
function NativeModule(id) {
Expand Down

0 comments on commit c2c3b6f

Please sign in to comment.