Jelajahi Sumber

feat: commit code

mrxiaozhuox 3 tahun lalu
induk
melakukan
91907d21d2
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  1. 0 2
      src/cli/translate/mod.rs

+ 0 - 2
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);
                 }