From 86963dcb769b37cb9caaeb39bc0aac308806285d Mon Sep 17 00:00:00 2001 From: SadlyNotSappho Date: Tue, 22 Aug 2023 11:41:53 -0700 Subject: [PATCH] remove windows hate (sadly) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4aca623..062284f 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,7 +7,7 @@ pub fn get_home() -> String { let home = match std::env::consts::OS { "linux" => std::env::var("HOME").expect("how is there not a $HOME"), "windows" => std::env::var("userprofile") - .expect("yell at me if this doesn't work please i'm not going to touch windows"), + .expect("yell at me if this doesn't work please"), _ => std::env::var("HOME").expect( "if this doesn't work, you're probably on macos, which i literally cannot test on", ),