GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: use common.buildType in repl-domain-abort · nodejs/node@a0fcd4d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/addons/repl-domain-abort
    • test.js
Expand file treeCollapse file tree
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)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.