File tree 5 files changed +17
-15
lines changed
5 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 16
16
17
17
strategy :
18
18
matrix :
19
- node-version : [10.x, 12.x, 14.x]
19
+ node-version : [12.x, 14.x]
20
20
21
21
steps :
22
22
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ async function start () {
52
52
return `was not an ${ condition . fact } `
53
53
case 'greaterThanInclusive' :
54
54
return `${ condition . fact } of ${ condition . factResult } was too low`
55
+ default :
56
+ return ''
55
57
}
56
58
} ) . join ( ' and ' )
57
59
console . log ( `${ message } ${ detail } ` . red )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const accountData = {
28
28
*/
29
29
module . exports = {
30
30
getAccountInformation : ( accountId ) => {
31
- var message = 'loading account information for "' + accountId + '"'
31
+ const message = 'loading account information for "' + accountId + '"'
32
32
console . log ( message . dim )
33
33
return new Promise ( ( resolve , reject ) => {
34
34
setImmediate ( ( ) => {
Original file line number Diff line number Diff line change 64
64
"babel-cli" : " 6.26.0" ,
65
65
"babel-core" : " 6.26.3" ,
66
66
"babel-eslint" : " 10.1.0" ,
67
- "babel-loader" : " 8.1.0 " ,
67
+ "babel-loader" : " 8.2.2 " ,
68
68
"babel-polyfill" : " 6.26.0" ,
69
69
"babel-preset-es2015" : " ~6.24.1" ,
70
70
"babel-preset-stage-0" : " ~6.24.1" ,
71
71
"babel-register" : " 6.26.0" ,
72
- "chai" : " ^4.2.0 " ,
72
+ "chai" : " ^4.3.4 " ,
73
73
"chai-as-promised" : " ^7.1.1" ,
74
74
"colors" : " ~1.4.0" ,
75
75
"dirty-chai" : " 2.0.1" ,
76
- "lodash" : " 4.17.20 " ,
77
- "mocha" : " ^8.1.3 " ,
76
+ "lodash" : " 4.17.21 " ,
77
+ "mocha" : " ^8.4.0 " ,
78
78
"perfy" : " ^1.1.5" ,
79
- "sinon" : " ^9.0.3 " ,
80
- "sinon-chai" : " ^3.5 .0" ,
81
- "snazzy" : " ^8 .0.0" ,
82
- "standard" : " ^14.3.4 " ,
83
- "tsd" : " ^0.13.1 "
79
+ "sinon" : " ^11.1.1 " ,
80
+ "sinon-chai" : " ^3.7 .0" ,
81
+ "snazzy" : " ^9 .0.0" ,
82
+ "standard" : " ^16.0.3 " ,
83
+ "tsd" : " ^0.17.0 "
84
84
},
85
85
"dependencies" : {
86
86
"clone" : " ^2.1.2" ,
87
- "eventemitter2" : " ^6.4.3 " ,
88
- "hash-it" : " ^4 .0.5 " ,
89
- "jsonpath-plus" : " ^4 .0.0 " ,
87
+ "eventemitter2" : " ^6.4.4 " ,
88
+ "hash-it" : " ^5 .0.0 " ,
89
+ "jsonpath-plus" : " ^5 .0.7 " ,
90
90
"lodash.isobjectlike" : " ^4.0.0"
91
91
}
92
92
}
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class Engine extends EventEmitter {
209
209
return Promise . all ( ruleArray . map ( ( rule ) => {
210
210
if ( this . status !== RUNNING ) {
211
211
debug ( `engine::run status:${ this . status } ; skipping remaining rules` )
212
- return
212
+ return Promise . resolve ( )
213
213
}
214
214
return rule . evaluate ( almanac ) . then ( ( ruleResult ) => {
215
215
debug ( `engine::run ruleResult:${ ruleResult . result } ` )
You can’t perform that action at this time.
0 commit comments