Skip to content

Commit 694bd2e

Browse files
authored
Don't be over dramatic about missing probe-rs if it's not needed (#263)
* Don't be over dramatic about missing probe-rs if it's not needed * Adjust test
1 parent 6e36c0e commit 694bd2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/check.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn create_check_results(
138138
&mut result,
139139
);
140140
requirements_unsatisfied |= format_result(
141-
false,
141+
!probe_rs_required,
142142
"probe-rs",
143143
check_version(probers_version, 0, 25, 0),
144144
format!(
@@ -442,7 +442,7 @@ Checking installed versions
442442
Checking installed versions
443443
🆗 Rust (nightly): 1.85.0
444444
🆗 espflash: 3.3.0
445-
probe-rs (not found - see https://probe.rs/docs/getting-started/installation/ for how to install (suggested))
445+
💡 probe-rs (not found - see https://probe.rs/docs/getting-started/installation/ for how to install (suggested))
446446
🆗 esp-config: 0.5.0
447447
"
448448
.to_string()

0 commit comments

Comments
 (0)