Skip to content

Commit

Permalink
fix: avoid double parsing of arguments (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
varl authored Jun 12, 2019
1 parent 22af56a commit b616152
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/app/bin/d2-app
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/cluster/bin/d2-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/create-app/bin/d2-create-app
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/create/bin/d2-create
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/create/templates/cli/bin/{{executable}}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/main/bin/d2
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)
2 changes: 1 addition & 1 deletion packages/utils/bin/d2-utils
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
const command = require(`..`)

notifyOfUpdates(pkgJson)
makeEntryPoint(command).parse()
makeEntryPoint(command)

0 comments on commit b616152

Please sign in to comment.