Skip to content

Commit 794cceb

Browse files
authored
fix: support checks without "Running phase:" output (e.g. treefmt) (#4)
1 parent eb41260 commit 794cceb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

transform.nu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def main (file: string) {
3131
"BUILD" => {
3232
$status.attr | inspect
3333
let build_log = (do -i {
34-
script -efq -c $"nix log --log-format internal-json \".#checks.($system).($status.attr)\"" e+o>|
35-
| awk "/Running phase:/{p=1}p"
34+
script -efq -c $"nix log --log-format internal-json \".#checks.($system).($status.attr)\""
3635
})
3736
rm ./typescript
3837
$status | update error $build_log

0 commit comments

Comments
 (0)