Skip to content

Commit

Permalink
refactor: update log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Jun 15, 2023
1 parent ddcc909 commit 0a71e93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."#
),
_ => {}
}
Expand Down

0 comments on commit 0a71e93

Please sign in to comment.