mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
fix(cli): return error from coverage_command
(#11411)
This commit is contained in:
parent
79ac050d29
commit
2e57476fbb
1 changed files with 1 additions and 2 deletions
|
@ -966,8 +966,7 @@ async fn coverage_command(
|
|||
lcov: bool,
|
||||
) -> Result<(), AnyError> {
|
||||
if files.is_empty() {
|
||||
println!("No matching coverage profiles found");
|
||||
std::process::exit(1);
|
||||
return Err(generic_error("No matching coverage profiles found"));
|
||||
}
|
||||
|
||||
tools::coverage::cover_files(
|
||||
|
|
Loading…
Add table
Reference in a new issue