Skip to content
Snippets Groups Projects
Verified Commit 7b34fc8a authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

Merge branch 'main' into run-mirror-pipeline-everytime

get changes from !204.
parents cbc1f7f9 4b53a261
No related branches found
No related tags found
1 merge request!203run the pipeline on any push in the GitHub mirror
Pipeline #8299 passed
let files = ^git lf | lines | where { ($in | path parse).extension == "nu" }
for f in $files {
let path = $env.FILE_PWD | path dirname | path join $f
try {
nu-check $path --debug
} catch { |e|
let err = $e.debug
| ansi strip
| parse --regex '(.*)msg: "Found : (?<msg>.*)", span: (?<span>.*)'
| into record
error make --unspanned {
msg: ([
$"(ansi red_bold)($e.msg)(ansi reset):",
$" file: (ansi purple)($f)(ansi reset)",
$" err: ($err.msg)",
] | str join "\n")
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment