mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(coverage): ensure coverage is only collected in certain situations (#15467)
This commit is contained in:
parent
ee2f4e745c
commit
8eed24cd3d
7 changed files with 60 additions and 12 deletions
|
@ -774,7 +774,7 @@ async fn run_command(
|
|||
run_flags: RunFlags,
|
||||
) -> Result<i32, AnyError> {
|
||||
// Read script content from stdin
|
||||
if run_flags.script == "-" {
|
||||
if run_flags.is_stdin() {
|
||||
return run_from_stdin(flags).await;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue