mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-26 20:00:32 +00:00
Fix example selection (#4045)
This commit is contained in:
parent
7305bc08dc
commit
227ad1fced
@ -142,7 +142,7 @@ pub fn examples(workspace: &Path, mut args: ExamplesArgs, action: CargoAction) -
|
||||
// Only keep the example the user wants
|
||||
filtered.retain(|ex| ex.matches_name(example));
|
||||
|
||||
if examples.is_empty() {
|
||||
if filtered.is_empty() {
|
||||
log::warn!(
|
||||
"Example '{example}' not found or unsupported for the given chip. Please select one of the existing examples in the desired package."
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user