ci: fmt macos_ci.vsh

This commit is contained in:
Alexander Medvednikov 2024-11-09 09:19:06 +03:00
parent 48e3cd1beb
commit 7ee7fb7664

View File

@ -71,7 +71,6 @@ fn run_step(step Command) {
}
}
// Helper function to execute commands and exit if they fail
fn exec(command string) {
result := os.execute(command)
@ -80,7 +79,7 @@ fn exec(command string) {
// exit(1)
//}
if result.exit_code != 0 {
eprintln('Command failed with code ${result.exit_code}: $command\nOutput: ${result.output}')
eprintln('Command failed with code ${result.exit_code}: ${command}\nOutput: ${result.output}')
exit(1)
}
println(result.output)
@ -208,5 +207,3 @@ fn test_readline() {
fn test_vlib_skip_unused() {
exec('v -skip-unused test vlib/builtin/ vlib/math vlib/flag/ vlib/os/ vlib/strconv/')
}