We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f327585 commit 5083975Copy full SHA for 5083975
Node/src/dialogs/Prompts.ts
@@ -234,10 +234,10 @@ export class Prompts extends dialog.Dialog {
234
}
235
236
private sendPrompt(session: ses.Session, args: IPromptArgs, retry = false): void {
237
- if (retry && typeof args.retryPrompt === 'object') {
+ if (retry && typeof args.retryPrompt === 'object' && !Array.isArray(args.retryPrompt)) {
238
// Send native IMessage
239
session.send(args.retryPrompt);
240
- } else if (typeof args.prompt === 'object') {
+ } else if (typeof args.prompt === 'object' && !Array.isArray(args.prompt)) {
241
242
session.send(args.prompt);
243
} else {
0 commit comments