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 11'use strict' ;
22
3- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3+ require ( 'internal/util' ) . assertCrypto ( ) ;
44
55const assert = require ( 'assert' ) ;
66const EventEmitter = require ( 'events' ) ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3+ require ( 'internal/util' ) . assertCrypto ( ) ;
44
55const assert = require ( 'assert' ) ;
66const crypto = require ( 'crypto' ) ;
Original file line number Diff line number Diff line change 44'use strict' ;
55
66const internalUtil = require ( 'internal/util' ) ;
7- internalUtil . assertCrypto ( exports ) ;
7+ internalUtil . assertCrypto ( ) ;
88
99exports . DEFAULT_ENCODING = 'buffer' ;
1010
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- require ( 'internal/util' ) . assertCrypto ( exports ) ;
3+ require ( 'internal/util' ) . assertCrypto ( ) ;
44
55const tls = require ( 'tls' ) ;
66const url = require ( 'url' ) ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ exports.objectToString = function objectToString(o) {
101101} ;
102102
103103const noCrypto = ! process . versions . openssl ;
104- exports . assertCrypto = function ( exports ) {
104+ exports . assertCrypto = function ( ) {
105105 if ( noCrypto )
106106 throw new Error ( 'Node.js is not compiled with openssl crypto support' ) ;
107107} ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
33const internalUtil = require ( 'internal/util' ) ;
4- internalUtil . assertCrypto ( exports ) ;
4+ internalUtil . assertCrypto ( ) ;
55
66const net = require ( 'net' ) ;
77const url = require ( 'url' ) ;
You can’t perform that action at this time.
0 commit comments