File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -83,15 +83,15 @@ export default class Almanac {
83
83
if ( path ) {
84
84
return factValuePromise . then ( factValue => {
85
85
if ( factValue && isObjectLike ( factValue ) ) {
86
- let pathValue = ( selectn ( path ) as Function ) ( factValue )
86
+ let pathValue = selectn < Function > ( path ) ! ( factValue )
87
87
debug (
88
- `condition::evaluate extracting object property ${ path } , received: ${ pathValue } ` ,
89
- )
88
+ `condition::evaluate extracting object property ${ path } , received: ${ pathValue } ` ,
89
+ )
90
90
return pathValue
91
91
} else {
92
92
warn (
93
- `condition::evaluate could not compute object path(${ path } ) of non-object: ${ factValue } <${ typeof factValue } >; continuing with ${ factValue } ` ,
94
- )
93
+ `condition::evaluate could not compute object path(${ path } ) of non-object: ${ factValue } <${ typeof factValue } >; continuing with ${ factValue } ` ,
94
+ )
95
95
return factValue
96
96
}
97
97
} )
You can’t perform that action at this time.
0 commit comments