Skip to content

Commit

Permalink
fix: make info command easier to parse
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasFrans committed Nov 9, 2023
1 parent 62f879c commit 5bb4c2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ pub fn info() -> Result<(), String> {
let user_cache_directory = user_cache_directory();

println!(
"USER CONFIGURATION PATH: {}",
"USER_CONFIGURATION_PATH {}",
user_configuration_directory
.map(|path| path.to_string_lossy().to_string())
.unwrap_or("not found".into())
);
println!(
"USER CACHE PATH: {}",
"USER_CACHE_PATH {}",
user_cache_directory
.map(|path| path.to_string_lossy().to_string())
.unwrap_or("not found".into())
Expand All @@ -24,7 +24,7 @@ pub fn info() -> Result<(), String> {

let user_runtime_directory = user_runtime_directory();
println!(
"USER RUNTIME PATH: {}",
"USER_RUNTIME_PATH {}",
user_runtime_directory
.map(|path| path.to_string_lossy().to_string())
.unwrap_or("not found".into())
Expand Down

0 comments on commit 5bb4c2b

Please sign in to comment.