diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-02-25 10:41:06 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-02-25 10:41:06 +0200 |
commit | 5986e1629ff123155752ff0b3624b49e6b3e65b7 (patch) | |
tree | e5760ffb0fdf3602469192ca00a787ef1e082306 | |
parent | f7ee53e6b0b05a21cac0c97391bae5a6aaea81ef (diff) | |
download | ambient-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.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); } |