Skip to content

Commit 4c24b24

Browse files
committed
Updated LKG build and package.json version.
1 parent 37f1a2c commit 4c24b24

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Node/lib/dialogs/IntentDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ var IntentDialog = (function (_super) {
144144
handler: this.getDefaultGroup()._intentHandler(topIntent.intent)
145145
};
146146
}
147-
if (match) {
147+
if (match && match.handler) {
148148
session.dialogData[consts.Data.Group] = match.groupId;
149149
session.dialogData[consts.Data.Intent] = topIntent.intent;
150150
match.handler(session, { intents: intents, entities: entities });

Node/lib/dialogs/Prompts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ var Prompts = (function (_super) {
158158
};
159159
Prompts.prototype.sendPrompt = function (session, args, retry) {
160160
if (retry === void 0) { retry = false; }
161-
if (retry && typeof args.retryPrompt === 'object') {
161+
if (retry && typeof args.retryPrompt === 'object' && !Array.isArray(args.retryPrompt)) {
162162
session.send(args.retryPrompt);
163163
}
164-
else if (typeof args.prompt === 'object') {
164+
else if (typeof args.prompt === 'object' && !Array.isArray(args.prompt)) {
165165
session.send(args.prompt);
166166
}
167167
else {

Node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "botbuilder",
33
"author": "Microsoft Corp.",
44
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"license": "MIT",
77
"keywords": [
88
"botbuilder",

0 commit comments

Comments
 (0)