Skip to content

Commit b616152

Browse files
authored
fix: avoid double parsing of arguments (#64)
1 parent 22af56a commit b616152

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

packages/app/bin/d2-app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/cluster/bin/d2-cluster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/create-app/bin/d2-create-app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/create/bin/d2-create

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/create/templates/cli/bin/{{executable}}

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/main/bin/d2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

packages/utils/bin/d2-utils

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const pkgJson = require('../package.json')
55
const command = require(`..`)
66

77
notifyOfUpdates(pkgJson)
8-
makeEntryPoint(command).parse()
8+
makeEntryPoint(command)

0 commit comments

Comments
 (0)