| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d410f74 commit 054f8f6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,8 +7,9 @@ if (!common.hasCrypto) | |||
| 7 | 7 | common.skip('missing crypto'); | |
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | - const tls = require('tls'); | ||
| 10 | + const fixtures = require('../common/fixtures'); | ||
| 11 | 11 | const fork = require('child_process').fork; | |
| 12 | + const tls = require('tls'); | ||
| 12 | 13 | ||
| 13 | 14 | if (process.env.CHILD) { | |
| 14 | 15 | // This will try to load the extra CA certs, and emit a warning when it fails. | |
@@ -17,7 +18,7 @@ if (process.env.CHILD) { | |||
| 17 | 18 | ||
| 18 | 19 | const env = Object.assign({}, process.env, { | |
| 19 | 20 | CHILD: 'yes', | |
| 20 | - NODE_EXTRA_CA_CERTS: `${common.fixturesDir}/no-such-file-exists`, | ||
| 21 | + NODE_EXTRA_CA_CERTS: `${fixtures.fixturesDir}/no-such-file-exists`, | ||
| 21 | 22 | }); | |
| 22 | 23 | ||
| 23 | 24 | const opts = { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments