diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-11-15 23:25:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-16 10:25:52 +1100 |
| commit | cd9193f126c229f3457ada1cf9a05897fdebb77d (patch) | |
| tree | 070342089d3a40300f49ba254afd43994ac2a377 /cli/tools | |
| parent | 243d3ba755265dc2cdc5cd0aaffdf9da57d7a931 (diff) | |
fix(cli): short-circuit in prepare_module_load() (#12604)
Diffstat (limited to 'cli/tools')
| -rw-r--r-- | cli/tools/coverage.rs | 1 | ||||
| -rw-r--r-- | cli/tools/test.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cli/tools/coverage.rs b/cli/tools/coverage.rs index c34ba22cc..60c87687a 100644 --- a/cli/tools/coverage.rs +++ b/cli/tools/coverage.rs @@ -693,6 +693,7 @@ pub async fn cover_files( emit::TypeLib::UnstableDenoWindow, Permissions::allow_all(), Permissions::allow_all(), + false, ) .await?; diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 33fb2926d..f2b477bf1 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -732,6 +732,7 @@ async fn check_specifiers( lib.clone(), Permissions::allow_all(), permissions.clone(), + false, ) .await?; } @@ -753,6 +754,7 @@ async fn check_specifiers( lib, Permissions::allow_all(), permissions, + true, ) .await?; |
