File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const initHooks = require('./init-hooks');
1111const verifyGraph = require ( './verify-graph' ) ;
1212const fs = require ( 'fs' ) ;
1313const tls = require ( 'tls' ) ;
14+ const path = require ( 'path' ) ;
1415
1516const hooks = initHooks ( ) ;
1617hooks . enable ( ) ;
@@ -20,8 +21,8 @@ hooks.enable();
2021//
2122const server = tls
2223 . createServer ( {
23- cert : fs . readFileSync ( common . fixturesDir + '/ test_cert.pem') ,
24- key : fs . readFileSync ( common . fixturesDir + '/ test_key.pem')
24+ cert : fs . readFileSync ( path . join ( common . fixturesDir , ' test_cert.pem') ) ,
25+ key : fs . readFileSync ( path . join ( common . fixturesDir , ' test_key.pem') )
2526 } )
2627 . on ( 'listening' , common . mustCall ( onlistening ) )
2728 . on ( 'secureConnection' , common . mustCall ( onsecureConnection ) )
You can’t perform that action at this time.
0 commit comments