File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ var IntentDialog = (function (_super) {
144
144
handler : this . getDefaultGroup ( ) . _intentHandler ( topIntent . intent )
145
145
} ;
146
146
}
147
- if ( match ) {
147
+ if ( match && match . handler ) {
148
148
session . dialogData [ consts . Data . Group ] = match . groupId ;
149
149
session . dialogData [ consts . Data . Intent ] = topIntent . intent ;
150
150
match . handler ( session , { intents : intents , entities : entities } ) ;
Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ var Prompts = (function (_super) {
158
158
} ;
159
159
Prompts . prototype . sendPrompt = function ( session , args , retry ) {
160
160
if ( retry === void 0 ) { retry = false ; }
161
- if ( retry && typeof args . retryPrompt === 'object' ) {
161
+ if ( retry && typeof args . retryPrompt === 'object' && ! Array . isArray ( args . retryPrompt ) ) {
162
162
session . send ( args . retryPrompt ) ;
163
163
}
164
- else if ( typeof args . prompt === 'object' ) {
164
+ else if ( typeof args . prompt === 'object' && ! Array . isArray ( args . prompt ) ) {
165
165
session . send ( args . prompt ) ;
166
166
}
167
167
else {
Original file line number Diff line number Diff line change 2
2
"name" : " botbuilder" ,
3
3
"author" : " Microsoft Corp." ,
4
4
"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 " ,
6
6
"license" : " MIT" ,
7
7
"keywords" : [
8
8
" botbuilder" ,
You can’t perform that action at this time.
0 commit comments