We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bafa228 commit 16ed116Copy full SHA for 16ed116
test/addons/dlopen-ping-pong/test.js
@@ -11,7 +11,7 @@ const os = require('os');
11
const bindingPath = require.resolve(`./build/${common.buildType}/binding`);
12
process.dlopen(module, bindingPath,
13
os.constants.dlopen.RTLD_NOW | os.constants.dlopen.RTLD_GLOBAL);
14
-module.exports.load(path.dirname(bindingPath) + '/ping.so');
+module.exports.load(`${path.dirname(bindingPath)}/ping.so`);
15
assert.strictEqual(module.exports.ping(), 'pong');
16
17
// Check that after the addon is loaded with
0 commit comments