mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Small review improvements
This commit is contained in:
@@ -244,9 +244,9 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
if [ -f build/metrics.json ]; then
|
||||
METRICS=build/metrics.json
|
||||
METRICS=build/metrics.json
|
||||
elif [ -f obj/build/metrics.json ]; then
|
||||
METRICS=obj/build/metrics.json
|
||||
METRICS=obj/build/metrics.json
|
||||
else
|
||||
echo "No metrics.json found"
|
||||
exit 0
|
||||
|
||||
@@ -57,9 +57,9 @@ pub fn download_auto_job_metrics(
|
||||
Ok(metrics) => Some(metrics),
|
||||
Err(error) => {
|
||||
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?"#,
|
||||
job.name, parent
|
||||
job.name
|
||||
);
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user