From 91907d21d249425e1a0dae40991664ae6e850812 Mon Sep 17 00:00:00 2001 From: mrxiaozhuox Date: Wed, 19 Jan 2022 00:47:48 +0800 Subject: [PATCH] feat: commit code --- src/cli/translate/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cli/translate/mod.rs b/src/cli/translate/mod.rs index a8d5352ae..5799cad02 100644 --- a/src/cli/translate/mod.rs +++ b/src/cli/translate/mod.rs @@ -44,7 +44,6 @@ impl Translate { let contents; let temp = input.map(|f| { std::fs::read_to_string(&f).unwrap_or_else(|e| { - // panic!("Could not read input file: {}", e) log::error!("Cloud not read input file: {}.", e); exit(0); }) @@ -54,7 +53,6 @@ impl Translate { contents = s; } else { if atty::is(atty::Stream::Stdin) { - // panic!("No input file, source, or stdin to translate from"); log::error!("No input file, source, or stdin to translate from."); exit(0); }