Skip to content

Commit

Permalink
actually filter empty groups
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzcreek committed Jul 19, 2018
1 parent 52c8f08 commit 73cb9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
},
"dependencies": {
"pulp": "^12.2.0",
"purescript": "slamdata/node-purescript#0.12"
"purescript": "^0.12.0"
}
}
2 changes: 1 addition & 1 deletion src/MoteRunner.purs
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ shouldKeep pattern = case _ of
let
filtered = Array.mapMaybe (shouldKeep pattern) (unPlan value)
in
guard (Array.null filtered) $>
guard (not Array.null filtered) $>
(Plan.Group { label, bracket, value: Plan filtered })

0 comments on commit 73cb9c4

Please sign in to comment.