| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4594315 commit 9592a48
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,10 +23,10 @@ | |||
| 23 | 23 | const common = require('../common'); | |
| 24 | 24 | const assert = require('assert'); | |
| 25 | 25 | const exec = require('child_process').exec; | |
| 26 | - const path = require('path'); | ||
| 26 | + const fixtures = require('../common/fixtures'); | ||
| 27 | 27 | ||
| 28 | 28 | function errExec(script, callback) { | |
| 29 | - const cmd = `"${process.argv[0]}" "${path.join(common.fixturesDir, script)}"`; | ||
| 29 | + const cmd = `"${process.argv[0]}" "${fixtures.path(script)}"`; | ||
| 30 | 30 | return exec(cmd, function(err, stdout, stderr) { | |
| 31 | 31 | // There was some error | |
| 32 | 32 | assert.ok(err); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments