summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@noreply.codeberg.org>2024-02-25 08:46:36 +0000
committerLars Wirzenius <liw@noreply.codeberg.org>2024-02-25 08:46:36 +0000
commitb9d2ef842ce2321836bc22cddbfbc4a159cf4a5f (patch)
treee5760ffb0fdf3602469192ca00a787ef1e082306
parentf7ee53e6b0b05a21cac0c97391bae5a6aaea81ef (diff)
parent5986e1629ff123155752ff0b3624b49e6b3e65b7 (diff)
downloadambient-driver-b9d2ef842ce2321836bc22cddbfbc4a159cf4a5f.tar.gz
Merge pull request 'fix: messaging about whether and why run is run or skipped' (#77) from bugfix into main
Reviewed-on: https://codeberg.org/ambient/ambient-driver/pulls/77
-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);
}