Skip to content

Commit 7550c6e

Browse files
committed
updated deps and added test for scripts
1 parent 19e594e commit 7550c6e

File tree

5 files changed

+317
-506
lines changed

5 files changed

+317
-506
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function buildPackageOptions (options = {}, pkg = {}) {
9999
opts.scripts = Object.assign({}, pkg.scripts || {}, options.scripts || {})
100100

101101
// Get name and scope, if not from options from cwd
102-
const {name, scope} = scopeAndName(options.scope, options.name || pkg.name, options.directory)
102+
const { name, scope } = scopeAndName(options.scope, options.name || pkg.name, options.directory)
103103
opts.name = name
104104
opts.scope = scope
105105

lib/prompts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function promptForCustomScript (opts = {}, scripts = {}) {
141141
return scripts
142142
}
143143

144-
const {another} = await inquirer.prompt([{
144+
const { another } = await inquirer.prompt([{
145145
name: 'another',
146146
message: 'Add another script?',
147147
type: 'confirm',

0 commit comments

Comments
 (0)