| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,12 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const assert = require('assert'); | |
| 4 | - const join = require('path').join; | ||
| 5 | + const { join } = require('path'); | ||
| 5 | 6 | const childProcess = require('child_process'); | |
| 6 | 7 | const fs = require('fs'); | |
| 7 | 8 | ||
| 8 | - const stdoutScript = join(common.fixturesDir, 'echo-close-check.js'); | ||
| 9 | + const stdoutScript = fixtures.path('echo-close-check.js'); | ||
| 9 | 10 | const tmpFile = join(common.tmpDir, 'stdin.txt'); | |
| 10 | 11 | ||
| 11 | 12 | const cmd = `"${process.argv[0]}" "${stdoutScript}" < "${tmpFile}"`; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments