0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00

lib: use object destructuring for ContextifyScript

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Daniel Bevenius 2018-05-24 13:49:22 +02:00 committed by Joyee Cheung
parent 4f28015d22
commit ed2a110f91
No known key found for this signature in database
GPG Key ID: 92B78A53C8303B8D

View File

@ -104,7 +104,7 @@
};
}
const ContextifyScript = process.binding('contextify').ContextifyScript;
const { ContextifyScript } = process.binding('contextify');
// Set up NativeModule
function NativeModule(id) {