From 7765aa6ecd48d1e97da85825bb2c99bb5f5034fe Mon Sep 17 00:00:00 2001 From: drbh Date: Tue, 21 May 2024 21:56:29 +0000 Subject: [PATCH] fix: adjust skip build typo --- router/client/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/client/build.rs b/router/client/build.rs index e7167273..7a6dab0b 100644 --- a/router/client/build.rs +++ b/router/client/build.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { println!("cargo:rerun-if-changed=../../proto/generate.proto"); // conditionally compile proto files (avoid when bundling python package) let skip_build = std::env::var("SKIP_BUILD").is_ok(); - if skip_build { + if !skip_build { fs::create_dir("src/pb").unwrap_or(()); let mut config = prost_build::Config::new();