We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525700b commit a0fcd4dCopy full SHA for a0fcd4d
test/addons/repl-domain-abort/test.js
@@ -25,8 +25,7 @@ const assert = require('assert');
25
const repl = require('repl');
26
const stream = require('stream');
27
const path = require('path');
28
-const buildType = process.config.target_defaults.default_configuration;
29
-let buildPath = path.join(__dirname, 'build', buildType, 'binding');
+let buildPath = path.join(__dirname, 'build', common.buildType, 'binding');
30
// On Windows, escape backslashes in the path before passing it to REPL.
31
if (common.isWindows)
32
buildPath = buildPath.replace(/\\/g, '/');
0 commit comments