Skip to content

Commit 73cb9c4

Browse files
committed
actually filter empty groups
1 parent 52c8f08 commit 73cb9c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
},
77
"dependencies": {
88
"pulp": "^12.2.0",
9-
"purescript": "slamdata/node-purescript#0.12"
9+
"purescript": "^0.12.0"
1010
}
1111
}

src/MoteRunner.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ shouldKeep pattern = case _ of
9898
let
9999
filtered = Array.mapMaybe (shouldKeep pattern) (unPlan value)
100100
in
101-
guard (Array.null filtered) $>
101+
guard (not Array.null filtered) $>
102102
(Plan.Group { label, bracket, value: Plan filtered })

0 commit comments

Comments
 (0)