| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bafa228 commit 16ed116
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ const os = require('os'); | |||
| 11 | 11 | const bindingPath = require.resolve(`./build/${common.buildType}/binding`); | |
| 12 | 12 | process.dlopen(module, bindingPath, | |
| 13 | 13 | os.constants.dlopen.RTLD_NOW | os.constants.dlopen.RTLD_GLOBAL); | |
| 14 | - module.exports.load(path.dirname(bindingPath) + '/ping.so'); | ||
| 14 | + module.exports.load(`${path.dirname(bindingPath)}/ping.so`); | ||
| 15 | 15 | assert.strictEqual(module.exports.ping(), 'pong'); | |
| 16 | 16 | ||
| 17 | 17 | // Check that after the addon is loaded with | |
| Back | FazBrowse Home | New Git URL |
0 commit comments