File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ var CommandDialog = (function (_super) {
76
76
if ( handler >= 0 && handler < this . commands . length ) {
77
77
cur = this . commands [ handler ] ;
78
78
}
79
- else if ( handler > this . commands . length && this . default ) {
79
+ else if ( handler >= this . commands . length && this . default ) {
80
80
cur = this . default ;
81
81
}
82
82
if ( cur ) {
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" : " 0.10.1 " ,
5
+ "version" : " 0.10.2 " ,
6
6
"license" : " MIT" ,
7
7
"keywords" : [
8
8
" botbuilder" ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export class CommandDialog extends dialog.Dialog {
112
112
var handler = session . dialogData [ consts . Data . Handler ] ;
113
113
if ( handler >= 0 && handler < this . commands . length ) {
114
114
cur = this . commands [ handler ] ;
115
- } else if ( handler > this . commands . length && this . default ) {
115
+ } else if ( handler >= this . commands . length && this . default ) {
116
116
cur = this . default ;
117
117
}
118
118
if ( cur ) {
You can’t perform that action at this time.
0 commit comments