From e3cc3db20fc86d9adb19bb472e8c96ae5f7c77c0 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 4 Jun 2020 08:36:25 -0400 Subject: Revert "feat: format deno bundle output (#5139)" (#6085) This reverts commit 93cf3bd5341d5985201ea0905280082d5a3310f9. --- cli/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cli/main.rs') diff --git a/cli/main.rs b/cli/main.rs index 4ccadfa2a..6d9aacf37 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -403,16 +403,14 @@ async fn bundle_command( debug!(">>>>> bundle END"); - let output_string = fmt::format_text(&output)?; - if let Some(out_file_) = out_file.as_ref() { info!("Emitting bundle to {:?}", out_file_); - let output_bytes = output_string.as_bytes(); + let output_bytes = output.as_bytes(); let output_len = output_bytes.len(); deno_fs::write_file(out_file_, output_bytes, 0o666)?; info!("{} emitted.", human_size(output_len as f64)); } else { - println!("{}", output_string); + println!("{}", output); } Ok(()) } -- cgit v1.2.3