We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f339b5 commit cd303c5Copy full SHA for cd303c5
test/parallel/test-pipe-head.js
@@ -1,12 +1,12 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
5
6
const exec = require('child_process').exec;
-const join = require('path').join;
7
8
const nodePath = process.argv[0];
9
-const script = join(common.fixturesDir, 'print-10-lines.js');
+const script = fixtures.path('print-10-lines.js');
10
11
const cmd = `"${nodePath}" "${script}" | head -2`;
12
0 commit comments