File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ var IntentScorer = (function () {
19
19
Promise . all ( promises )
20
20
. then ( function ( intents ) {
21
21
var sortedIntents = _ . sortBy ( _ . compact ( intents ) , 'score' ) . reverse ( ) ;
22
- sortedIntents = _ . filter ( sortedIntents , function ( intent ) { return intent . intent != 'None' ; } ) ;
23
22
resolve ( sortedIntents ) ;
24
23
} )
25
24
. catch ( reject ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bot-graph-dialog" ,
3
- "version" : " 3.4.5 " ,
3
+ "version" : " 3.4.6 " ,
4
4
"description" : " bot graph dialog" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ export class IntentScorer implements IIntentScorer {
57
57
Promise . all ( promises )
58
58
. then ( intents => {
59
59
var sortedIntents = _ . sortBy ( _ . compact ( intents ) , 'score' ) . reverse ( ) ;
60
- sortedIntents = _ . filter ( sortedIntents , intent => intent . intent != 'None' ) ;
61
60
resolve ( sortedIntents ) ;
62
61
} )
63
62
. catch ( reject ) ;
You can’t perform that action at this time.
0 commit comments