Skip to content

Commit

Permalink
Updated LKG build and package.json version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevenic committed Jun 1, 2016
1 parent 37f1a2c commit 4c24b24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Node/lib/dialogs/IntentDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var IntentDialog = (function (_super) {
handler: this.getDefaultGroup()._intentHandler(topIntent.intent)
};
}
if (match) {
if (match && match.handler) {
session.dialogData[consts.Data.Group] = match.groupId;
session.dialogData[consts.Data.Intent] = topIntent.intent;
match.handler(session, { intents: intents, entities: entities });
Expand Down
4 changes: 2 additions & 2 deletions Node/lib/dialogs/Prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ var Prompts = (function (_super) {
};
Prompts.prototype.sendPrompt = function (session, args, retry) {
if (retry === void 0) { retry = false; }
if (retry && typeof args.retryPrompt === 'object') {
if (retry && typeof args.retryPrompt === 'object' && !Array.isArray(args.retryPrompt)) {
session.send(args.retryPrompt);
}
else if (typeof args.prompt === 'object') {
else if (typeof args.prompt === 'object' && !Array.isArray(args.prompt)) {
session.send(args.prompt);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion Node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "botbuilder",
"author": "Microsoft Corp.",
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"keywords": [
"botbuilder",
Expand Down

0 comments on commit 4c24b24

Please sign in to comment.