fixed error
This commit is contained in:
1 parent
bf0d3b12f2
commit
2250c4b2c3
1 file changed
+1
-1
+1
-1
@@ -45,7 +45,7 @@ pub fn after_fact() {
|
||||
|
||||
let mut displayflag = false;
|
||||
let mut target: Box<dyn io::Write> =
|
||||
if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("details") {
|
||||
if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("output") {
|
||||
// ファイル出力する場合
|
||||
match File::create(csv_path) {
|
||||
Ok(file) => Box::new(BufWriter::new(file)),
|
||||
|
||||
Reference in new issue
Block a user