Closed tlugger closed 2 years ago
Merging #59 (017dac2) into master (b177c64) will increase coverage by
0.03%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
+ Coverage 95.78% 95.82% +0.03%
==========================================
Files 9 9
Lines 950 957 +7
==========================================
+ Hits 910 917 +7
Misses 28 28
Partials 12 12
Adds an additional check while recursively parsing through a rule map. If the parsed map has more than 1 key, treat it as a primitive and return. This matches logic currently implemented in the javascript
is_logic
check: https://github.com/jwadhams/json-logic-js/blob/9c805e9ac6a3787e8508e982a079888d3cc295b5/logic.js#L180Resolves #58