We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a8c170 commit 2f73eccCopy full SHA for 2f73ecc
report.nu
@@ -2,9 +2,9 @@
2
3
def main (file: string, attr: string) {
4
open $file
5
- | filter {|x| $x.attr == $attr}
6
- | filter {|x| $x.error != null}
7
- | filter {|x| $x.type in ["EVAL", "BUILD"]}
+ | where {|x| $x.attr == $attr}
+ | where {|x| $x.error != null}
+ | where {|x| $x.type in ["EVAL", "BUILD"]}
8
| $in.0
9
| match $in.type {
10
"EVAL" => (do {
transform.nu
@@ -21,7 +21,7 @@ def main (file: string) {
21
| lines
22
| each {|row| $row | cut -c 6-}
23
| each {|row| $row | from json}
24
- | filter {|log| $log.action == "msg"}
+ | where {|log| $log.action == "msg"}
25
| last
26
| $in.msg
27
})
0 commit comments