fix(cli): ensure empty lines don't count towards coverage (#11957)

This commit is contained in:
Casper Beyer 2021-10-06 13:05:18 +08:00 committed by GitHub
parent 10c415eaaa
commit d5b38a9929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 487 additions and 362 deletions

View file

@ -1051,7 +1051,7 @@ async fn coverage_command(
return Err(generic_error("No matching coverage profiles found"));
}
tools::coverage::cover_files(
tools::coverage::cover_scripts(
flags.clone(),
coverage_flags.files,
coverage_flags.ignore,