Skip to content

Commit

Permalink
fix: prompt when field not work
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Apr 26, 2018
1 parent e0f6cd9 commit 16fa53c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/edam/src/core/promptProcessor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default async function prompt(
transformer,
validate
} = prompt
delete prompt.when
delete prompt.transformer
delete prompt.validate
if (yes && prompt.yes !== false) {
Expand Down
2 changes: 1 addition & 1 deletion packages/edam/src/types/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface RCOptions {
// alias the source
alias?: object
// the wanted extend edam configuration file path (relative or absolute)
extends?: string | Array<string>
extends?: string | string[]
output?: string
plugins?: Array<Plugin>
pull?: {
Expand Down

0 comments on commit 16fa53c

Please sign in to comment.