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 <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
  • 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.