diff --git a/build.rs b/build.rs index fd820f7..8ab872f 100644 --- a/build.rs +++ b/build.rs @@ -16,6 +16,7 @@ fn main() -> ExitCode { let outfile = fs::OpenOptions::new() .write(true) .create(true) + .truncate(true) .open("src/themes.rs") .unwrap(); @@ -32,5 +33,5 @@ fn main() -> ExitCode { println!("cargo::warning=whiskers exited nonzero"); return ExitCode::FAILURE; } - return ExitCode::SUCCESS; + ExitCode::SUCCESS } diff --git a/src/themes.rs b/src/themes.rs index dd08f03..1340636 100644 --- a/src/themes.rs +++ b/src/themes.rs @@ -146,3 +146,4 @@ pub const MOCHA: Theme = Theme { mantle: Color32::from_rgb(24, 24, 37), crust: Color32::from_rgb(17, 17, 27), }; +