From 231d649878769b3364509a922d11f82398488d32 Mon Sep 17 00:00:00 2001 From: amy Date: Sun, 23 Jan 2022 16:08:55 +0100 Subject: [PATCH] change log message in files.rs --- src/internal/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/files.rs b/src/internal/files.rs index bc0d5b4..585e3ad 100755 --- a/src/internal/files.rs +++ b/src/internal/files.rs @@ -6,7 +6,7 @@ pub fn create_file(path: &str) { let returncode = File::create(path); match returncode { Ok(_) => { - log(format!("Create {}: Sucess", path)); + log(format!("[ \x1b[2;1;32mOK\x1b[0m ] Create {}", path)); } Err(e) => { crash(format!("Create {}: Failed with error {}", path, e), 1);