summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-02-25 10:41:06 +0200
committerLars Wirzenius <liw@liw.fi>2024-02-25 10:41:06 +0200
commit5986e1629ff123155752ff0b3624b49e6b3e65b7 (patch)
treee5760ffb0fdf3602469192ca00a787ef1e082306
parentf7ee53e6b0b05a21cac0c97391bae5a6aaea81ef (diff)
downloadambient-driver-5986e1629ff123155752ff0b3624b49e6b3e65b7.tar.gz
fix: messaging about whether and why run is run or skipped
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--src/run.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/run.rs b/src/run.rs
index e0ee552..b3acb86 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -177,9 +177,11 @@ fn should_run(
}
if do_run {
- info!("running CI on {}", name);
- } else if run.dry_run() {
- info!("would run CI on {} but --dry-run used", name);
+ if run.dry_run() {
+ info!("would run CI on {} but --dry-run used", name);
+ } else {
+ info!("running CI on {}", name);
+ }
} else {
info!("skipping {}", name);
}