diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-03-26 10:24:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 12:24:10 +0300 |
commit | b4c61c146a50dea0c4a53d8d505a4308ea7da279 (patch) | |
tree | 230268db099dee2f709b6a0a5dee506a04e24096 /cli/tools/run.rs | |
parent | 8b596cbae1392f17c9642c085b006bed6692dcdb (diff) |
fix(cli): don't store blob and data urls in the module cache (#18261)
Diffstat (limited to 'cli/tools/run.rs')
-rw-r--r-- | cli/tools/run.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/tools/run.rs b/cli/tools/run.rs index 007e0fb2a..141be0810 100644 --- a/cli/tools/run.rs +++ b/cli/tools/run.rs @@ -72,7 +72,6 @@ pub async fn run_from_stdin(flags: Flags) -> Result<i32, AnyError> { std::io::stdin().read_to_end(&mut source)?; // Create a dummy source file. let source_file = File { - local: main_module.clone().to_file_path().unwrap(), maybe_types: None, media_type: MediaType::TypeScript, source: String::from_utf8(source)?.into(), @@ -144,7 +143,6 @@ pub async fn eval_command( .into_bytes(); let file = File { - local: main_module.clone().to_file_path().unwrap(), maybe_types: None, media_type: MediaType::Unknown, source: String::from_utf8(source_code)?.into(), |