Skip to content

Commit a0fcd4d

Browse 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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • test/addons/repl-domain-abort

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const assert = require('assert');
2525
constrepl=require('repl');
2626
conststream=require('stream');
2727
constpath=require('path');
28-
constbuildType=process.config.target_defaults.default_configuration;
29-
letbuildPath=path.join(__dirname,'build',buildType,'binding');
28+
letbuildPath=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)