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: fix tool path in test-doctool-versions.js · nodejs/node@ed89863

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/doctool
    • test-doctool-versions.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/doctool/test-doctool-versions.js‎

Copy file name to clipboardExpand all lines: test/doctool/test-doctool-versions.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const tmpdir = require('../common/tmpdir');
99
const util = require('util');
1010

1111
const debuglog = util.debuglog('test');
12-
const versionsTool = path.join('../../tools/doc/versions.js');
12+
const versionsTool = path.resolve(__dirname, '../../tools/doc/versions.js');
1313

1414
// At the time of writing these are the minimum expected versions.
1515
// New versions of Node.js do not have to be explicitly added here.
@@ -29,7 +29,7 @@ const expected = [
2929

3030
tmpdir.refresh();
3131
const versionsFile = path.join(tmpdir.path, 'versions.json');
32-
debuglog(versionsFile);
32+
debuglog(`${process.execPath} ${versionsTool} ${versionsFile}`);
3333
const opts = { cwd: tmpdir.path, encoding: 'utf8' };
3434
const cp = spawnSync(process.execPath, [ versionsTool, versionsFile ], opts);
3535
debuglog(cp.stderr);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.