1
Fork 0

Small review improvements

This commit is contained in:
Jakub Beránek 2025-03-17 21:48:39 +01:00
parent 4801dba9af
commit c9d314773e
2 changed files with 4 additions and 4 deletions

View file

@ -244,9 +244,9 @@ jobs:
continue-on-error: true continue-on-error: true
run: | run: |
if [ -f build/metrics.json ]; then if [ -f build/metrics.json ]; then
METRICS=build/metrics.json METRICS=build/metrics.json
elif [ -f obj/build/metrics.json ]; then elif [ -f obj/build/metrics.json ]; then
METRICS=obj/build/metrics.json METRICS=obj/build/metrics.json
else else
echo "No metrics.json found" echo "No metrics.json found"
exit 0 exit 0

View file

@ -57,9 +57,9 @@ pub fn download_auto_job_metrics(
Ok(metrics) => Some(metrics), Ok(metrics) => Some(metrics),
Err(error) => { Err(error) => {
eprintln!( eprintln!(
r#"Did not find metrics for job `{}` at `{}`: {error:?}. r#"Did not find metrics for job `{}` at `{parent}`: {error:?}.
Maybe it was newly added?"#, Maybe it was newly added?"#,
job.name, parent job.name
); );
None None
} }