| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 18479d3 commit 244bfb3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,14 +6,15 @@ | |||
| 6 | 6 | // opened and the contents are validated | |
| 7 | 7 | ||
| 8 | 8 | const common = require('../common'); | |
| 9 | + const fixtures = require('../common/fixtures'); | ||
| 9 | 10 | const fs = require('fs'); | |
| 10 | 11 | const fork = require('child_process').fork; | |
| 11 | 12 | const path = require('path'); | |
| 12 | 13 | const assert = require('assert'); | |
| 13 | 14 | ||
| 14 | 15 | common.refreshTmpDir(); | |
| 15 | 16 | ||
| 16 | - const warnmod = require.resolve(common.fixturesDir + '/warnings.js'); | ||
| 17 | + const warnmod = require.resolve(fixtures.path('warnings.js')); | ||
| 17 | 18 | const warnpath = path.join(common.tmpDir, 'warnings.txt'); | |
| 18 | 19 | ||
| 19 | 20 | fork(warnmod, {env: {NODE_REDIRECT_WARNINGS: warnpath}}) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments