| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e7c55bf commit d3272c4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + const fixtures = require('../common/fixtures'); | ||
| 4 | 5 | const assert = require('assert'); | |
| 5 | 6 | const fs = require('fs'); | |
| 6 | 7 | const path = require('path'); | |
@@ -28,7 +29,7 @@ assert.throws(() => { | |||
| 28 | 29 | fs.accessSync(true); | |
| 29 | 30 | }, /path must be a string or Buffer/); | |
| 30 | 31 | ||
| 31 | - const dir = Buffer.from(common.fixturesDir); | ||
| 32 | + const dir = Buffer.from(fixtures.fixturesDir); | ||
| 32 | 33 | fs.readdir(dir, 'hex', common.mustCall((err, hexList) => { | |
| 33 | 34 | assert.ifError(err); | |
| 34 | 35 | fs.readdir(dir, common.mustCall((err, stringList) => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments