We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ebb4df commit 94c7331Copy full SHA for 94c7331
test/async-hooks/test-graph.tls-write.js
@@ -11,6 +11,7 @@ const initHooks = require('./init-hooks');
11
const verifyGraph = require('./verify-graph');
12
const fs = require('fs');
13
const tls = require('tls');
14
+const path = require('path');
15
16
const hooks = initHooks();
17
hooks.enable();
@@ -20,8 +21,8 @@ hooks.enable();
20
21
//
22
const server = tls
23
.createServer({
- cert: fs.readFileSync(common.fixturesDir + '/test_cert.pem'),
24
- key: fs.readFileSync(common.fixturesDir + '/test_key.pem')
+ cert: fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem')),
25
+ key: fs.readFileSync(path.join(common.fixturesDir, 'test_key.pem'))
26
})
27
.on('listening', common.mustCall(onlistening))
28
.on('secureConnection', common.mustCall(onsecureConnection))
0 commit comments