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 @@ -4,6 +4,7 @@ const common = require('../common');
44if ( ! common . hasCrypto )
55 common . skip ( 'missing crypto' ) ;
66
7+ const path = require ( 'path' ) ;
78const assert = require ( 'assert' ) ;
89const tick = require ( './tick' ) ;
910const initHooks = require ( './init-hooks' ) ;
@@ -19,8 +20,8 @@ hooks.enable();
1920//
2021const server = tls
2122 . createServer ( {
22- cert : fs . readFileSync ( ` ${ common . fixturesDir } / test_cert.pem` ) ,
23- key : fs . readFileSync ( ` ${ common . fixturesDir } / test_key.pem` )
23+ cert : fs . readFileSync ( path . join ( common . fixturesDir , ' test_cert.pem' ) ) ,
24+ key : fs . readFileSync ( path . join ( common . fixturesDir , ' test_key.pem' ) )
2425 } )
2526 . on ( 'listening' , common . mustCall ( onlistening ) )
2627 . on ( 'secureConnection' , common . mustCall ( onsecureConnection ) )
You can’t perform that action at this time.
0 commit comments