Skip to content

Commit

Permalink
fix: don't deploy after printing version
Browse files Browse the repository at this point in the history
fixes #6
  • Loading branch information
agentofuser committed Jun 7, 2019
1 parent ac4f164 commit 4cbe850
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/ipfs-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ async function main() {

process.stdout.write(output)

if (argv.version) {
process.stdout.write('\n')
process.exit()
}

if (argv.h) {
// Had to do this because couldn't get yargs#epilogue() to work
process.stdout.write(`
Expand Down

0 comments on commit 4cbe850

Please sign in to comment.