| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 04d5835 commit c252d87
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,18 +1,16 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const assert = require('assert'); | |
| 4 | 5 | const path = require('path'); | |
| 5 | 6 | const fs = require('fs'); | |
| 6 | 7 | ||
| 7 | 8 | // test creating and reading symbolic link | |
| 8 | - const linkData = path.join(common.fixturesDir, 'cycles/'); | ||
| 9 | + const linkData = fixtures.path('cycles/'); | ||
| 9 | 10 | const linkPath = path.join(common.tmpDir, 'cycles_link'); | |
| 10 | 11 | ||
| 11 | 12 | common.refreshTmpDir(); | |
| 12 | 13 | ||
| 13 | - console.log(`linkData: ${linkData}`); | ||
| 14 | - console.log(`linkPath: ${linkPath}`); | ||
| 15 | - | ||
| 16 | 14 | fs.symlink(linkData, linkPath, 'junction', common.mustCall(function(err) { | |
| 17 | 15 | if (err) throw err; | |
| 18 | 16 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments