diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-07-23 00:52:40 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-07-22 18:52:40 -0400 |
commit | 70de8dd51d465ea2016d6bb7c0728111f4493668 (patch) | |
tree | 5b086b781a3503ce33aa5e83a55f4517e414a67e /cli/compiler.rs | |
parent | 9c22961b6a06a75dad68bad87328857a9f7a55dc (diff) |
save headers for all intermediate redirects (#2677)
Diffstat (limited to 'cli/compiler.rs')
-rw-r--r-- | cli/compiler.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/compiler.rs b/cli/compiler.rs index 6e1399b44..0348c3478 100644 --- a/cli/compiler.rs +++ b/cli/compiler.rs @@ -447,7 +447,6 @@ impl TsCompiler { let compiled_module = SourceFile { url: source_file.url.clone(), - redirect_source_url: None, filename: compiled_code_filename, media_type: msg::MediaType::JavaScript, source_code: compiled_code, @@ -515,7 +514,6 @@ impl TsCompiler { let source_map_file = SourceFile { url: module_specifier.as_url().to_owned(), - redirect_source_url: None, filename: source_map_filename, media_type: msg::MediaType::JavaScript, source_code, @@ -634,7 +632,6 @@ mod tests { let mut out = SourceFile { url: specifier.as_url().clone(), - redirect_source_url: None, filename: PathBuf::from("/tests/002_hello.ts"), media_type: msg::MediaType::TypeScript, source_code: include_bytes!("../tests/002_hello.ts").to_vec(), |