diff --git a/Cargo.lock b/Cargo.lock index 3172170..17da18d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,7 +45,7 @@ dependencies = [ [[package]] name = "fumosay" -version = "0.4.1" +version = "0.4.2" dependencies = [ "clap", ] diff --git a/fumofiles/cirno.fumo b/fumofiles/cirno.fumo index 27b1200..6e8a9c1 100644 --- a/fumofiles/cirno.fumo +++ b/fumofiles/cirno.fumo @@ -1,4 +1,5 @@ - __ __ + + __ __ () | \ / | () | \____/ | () |__// V \\__| diff --git a/src/main.rs b/src/main.rs index a32bd57..7d95f5d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ const DEFAULT_FUMOFILES_DIR: &str = "/usr/local/share/fumosay/fumofiles/"; /// `message` will be added on the new line at the end of the fumofile. fn process_message(fumofile_contents: &mut String, message: &str) -> String { if fumofile_contents.contains(MESSAGE_INDICATOR) { - return fumofile_contents.replace(MESSAGE_INDICATOR,message); + return fumofile_contents.replace(MESSAGE_INDICATOR, message); } return format!("{}\n{}", fumofile_contents, message); }