diff --git a/cli/src/main.rs b/cli/src/main.rs index 620f329f..0b470c74 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -426,6 +426,10 @@ fn collect_paths<'a>( } } + if result.is_empty() { + Error::err("No files were found at or matched by the provided pathname/glob".to_string())?; + } + return Ok(result); }