Skip to content

Commit

Permalink
fix(version): print argument when running script
Browse files Browse the repository at this point in the history
  • Loading branch information
8Mobius8 committed Oct 5, 2020
1 parent 1bb756f commit 50f15f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions change-db.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ console.log('run change-db.js')
const args = process.argv.slice(2).join('')

try {
console.log(args)

const versiondb = JSON.parse(args)

const data = JSON.stringify(versiondb);
Expand Down

0 comments on commit 50f15f2

Please sign in to comment.