File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ describe('ipfs executable path', function () {
21
21
let npm3Path = '/tmp/ipfsd-ctl-test/node_modules/go-ipfs-dep/go-ipfs'
22
22
23
23
mkdirp ( npm3Path , ( err ) => {
24
- if ( err ) console . log ( err )
24
+ if ( err ) {
25
+ console . log ( err )
26
+ }
27
+
25
28
fs . writeFileSync ( path . join ( npm3Path , 'ipfs' ) )
26
29
delete require . cache [ require . resolve ( '../lib/node.js' ) ]
27
30
Node = require ( '../lib/node.js' )
@@ -36,7 +39,10 @@ describe('ipfs executable path', function () {
36
39
let npm2Path = '/tmp/ipfsd-ctl-test/node_modules/ipfsd-ctl/node_modules/go-ipfs-dep/go-ipfs'
37
40
38
41
mkdirp ( npm2Path , ( err ) => {
39
- if ( err ) console . log ( err )
42
+ if ( err ) {
43
+ console . log ( err )
44
+ }
45
+
40
46
fs . writeFileSync ( path . join ( npm2Path , 'ipfs' ) )
41
47
delete require . cache [ require . resolve ( '../lib/node.js' ) ]
42
48
Node = require ( '../lib/node.js' )
You can’t perform that action at this time.
0 commit comments