| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4cf84ea commit d70f9f6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,11 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | 4 | const assert = require('assert'); | |
| 5 | + const fixtures = require('../common/fixtures'); | ||
| 5 | 6 | ||
| 6 | 7 | // We have to change the directory to ../fixtures before requiring repl | |
| 7 | 8 | // in order to make the tests for completion of node_modules work properly | |
| 8 | 9 | // since repl modifies module.paths. | |
| 9 | - process.chdir(common.fixturesDir); | ||
| 10 | + process.chdir(fixtures.fixturesDir); | ||
| 10 | 11 | ||
| 11 | 12 | const repl = require('repl'); | |
| 12 | 13 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments