From 0a71e93c65ec345ebf4d512bc7db2ea76e7a74b8 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 15 Jun 2023 20:47:24 +0100 Subject: [PATCH] refactor: update log formatting --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e40cfeb..cedea68 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,11 +41,12 @@ impl Preprocessor for Catppuccin { match cmp { Cmp::Lt => error!( r#"mdbook-catppuccin with version '{LATEST_ASSETS_VERSION}' is out of date with current asset version '{current_assets_version}'. - Please upgrade by running 'cargo install --force mdbook-catppuccin' and then re-run 'mdbook-catppuccin install'"# +Please upgrade by running 'cargo install --force mdbook-catppuccin' and then re-run 'mdbook-catppuccin install'"# ), Cmp::Gt => error!( - r#"Out-Of-Date Asset Version '{current_assets_version}' Found: Please update your version of 'mdbook-catppuccin' to '{LATEST_ASSETS_VERSION}'. - Then run 'mdbook-catppuccin install' to install the lastest assets."# + r#"Out-Of-Date Asset Version '{current_assets_version}' Found: +Please update your version of 'mdbook-catppuccin' to '{LATEST_ASSETS_VERSION}'. +Then run 'mdbook-catppuccin install' to install the lastest assets."# ), _ => {} }