File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3
+ require ( 'internal/util' ) . assertCrypto ( ) ;
4
4
5
5
const assert = require ( 'assert' ) ;
6
6
const EventEmitter = require ( 'events' ) ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3
+ require ( 'internal/util' ) . assertCrypto ( ) ;
4
4
5
5
const assert = require ( 'assert' ) ;
6
6
const crypto = require ( 'crypto' ) ;
Original file line number Diff line number Diff line change 4
4
'use strict' ;
5
5
6
6
const internalUtil = require ( 'internal/util' ) ;
7
- internalUtil . assertCrypto ( exports ) ;
7
+ internalUtil . assertCrypto ( ) ;
8
8
9
9
exports . DEFAULT_ENCODING = 'buffer' ;
10
10
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3
+ require ( 'internal/util' ) . assertCrypto ( ) ;
4
4
5
5
const tls = require ( 'tls' ) ;
6
6
const url = require ( 'url' ) ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ exports.objectToString = function objectToString(o) {
101
101
} ;
102
102
103
103
const noCrypto = ! process . versions . openssl ;
104
- exports . assertCrypto = function ( exports ) {
104
+ exports . assertCrypto = function ( ) {
105
105
if ( noCrypto )
106
106
throw new Error ( 'Node.js is not compiled with openssl crypto support' ) ;
107
107
} ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const internalUtil = require ( 'internal/util' ) ;
4
- internalUtil . assertCrypto ( exports ) ;
4
+ internalUtil . assertCrypto ( ) ;
5
5
6
6
const net = require ( 'net' ) ;
7
7
const url = require ( 'url' ) ;
You can’t perform that action at this time.
0 commit comments