Skip to content

Commit 8663b05

Browse files
TrottMylesBorins
authored andcommitted
test: use process.features.debug in common module
Replace process.config.target_defaults.default_configuration check with process.features.debug. PR-URL: #16537 Ref: #4431 (comment) 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: Colin Ihrig <cjihrig@gmail.com>
1 parent 1fffa16 commit 8663b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ exports.spawnSyncPwd = function(options) {
276276
};
277277

278278
exports.platformTimeout = function(ms) {
279-
if (process.config.target_defaults.default_configuration === 'Debug')
279+
if (process.features.debug)
280280
ms = 2 * ms;
281281

282282
if (exports.isAix)

0 commit comments

Comments
 (0)