Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit b595eaa

Browse files
test fixes and dep updates
1 parent ac040b7 commit b595eaa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cli/commands/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = {
5151
throw new Error('failed to read the config')
5252
}
5353

54-
console.log(config)
54+
console.log(config.Value)
5555
})
5656
}
5757

src/cli/commands/version.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ module.exports = {
3838
}
3939

4040
if (typeof version === 'object') { // js-ipfs-api output
41-
console.log('ipfs version', version.Version)
42-
return
41+
version = version.Version
4342
}
4443

4544
console.log(`js-ipfs version: ${version}`)

0 commit comments

Comments
 (0)