You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 25, 2021. It is now read-only.
t.ok(res.file.indexOf(`ipfs_${version}_darwin-${goenv.GOARCH}`)!==-1,'Returns the correct filename')
106
-
t.ok(res.dir===path.resolve(__dirname,'../','go-ipfs')+'/','Returns the correct output path')
105
+
t.ok(res.fileName.indexOf(`ipfs_${version}_darwin-${goenv.GOARCH}`)!==-1,'Returns the correct filename')
106
+
t.ok(res.installPath===path.resolve(__dirname,'../','go-ipfs')+'/','Returns the correct output path')
107
107
108
108
fs.stat(dir,(err,stats)=>{
109
109
t.error(err,'go-ipfs for OSX should stat without error')
@@ -126,8 +126,8 @@ test('Ensure TARGET_OS, TARGET_VERSION and TARGET_ARCH version gets downloaded',
126
126
process.env.TARGET_ARCH='386'
127
127
download((err,res)=>{
128
128
t.ifErr(err)
129
-
t.ok(res.file.indexOf(`ipfs_${process.env.TARGET_VERSION}_${process.env.TARGET_OS}-${process.env.TARGET_ARCH}`)!==-1,'Returns the correct filename')
130
-
t.ok(res.dir===path.resolve(__dirname,'../','go-ipfs')+'/','Returns the correct output path')
129
+
t.ok(res.fileName.indexOf(`ipfs_${process.env.TARGET_VERSION}_${process.env.TARGET_OS}-${process.env.TARGET_ARCH}`)!==-1,'Returns the correct filename')
130
+
t.ok(res.installPath===path.resolve(__dirname,'../','go-ipfs')+'/','Returns the correct output path')
131
131
132
132
fs.stat(dir,(err,stats)=>{
133
133
t.error(err,'go-ipfs for windows should stat without error')
0 commit comments