Skip to content

Commit

Permalink
fix: need to pass ms to timedPrompt function
Browse files Browse the repository at this point in the history
  • Loading branch information
peternhale committed Mar 15, 2022
1 parent aecd7a6 commit f285e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export abstract class SfCommand<T> extends Command {
ms = 10_000,
initialAnswers?: Partial<R>
): Promise<R> {
return this.prompter.timedPrompt(questions, 10_000, initialAnswers);
return this.prompter.timedPrompt(questions, ms, initialAnswers);
}
public async _run<R>(): Promise<R | undefined> {
if (this.statics.requiresProject) {
Expand Down

0 comments on commit f285e07

Please sign in to comment.