Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a0fcd4d

Browse filesBrowse files
Trottgibfahn
authored andcommitted
test: use common.buildType in repl-domain-abort
use `common.buildType` instead of `process.config.target_defaults.default_configuration` in repl-domain-abort addon test. PR-URL: #16538 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 525700b commit a0fcd4d
Copy full SHA for a0fcd4d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
  • test/addons/repl-domain-abort
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎test/addons/repl-domain-abort/test.js‎

Copy file name to clipboardExpand all lines: test/addons/repl-domain-abort/test.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const assert = require('assert');
2525
const repl = require('repl');
2626
const stream = require('stream');
2727
const path = require('path');
28-
const buildType = process.config.target_defaults.default_configuration;
29-
let buildPath = path.join(__dirname, 'build', buildType, 'binding');
28+
let buildPath = path.join(__dirname, 'build', common.buildType, 'binding');
3029
// On Windows, escape backslashes in the path before passing it to REPL.
3130
if (common.isWindows)
3231
buildPath = buildPath.replace(/\\/g, '/');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.