mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-28 08:02:43 +00:00
style(windmill-api): cargo fmt fallout in build.rs and lib.rs
This commit is contained in:
@@ -2,8 +2,8 @@ fn main() {
|
||||
// rust-embed requires the embedded folder to exist at compile time.
|
||||
// When building without a prior frontend build, create the directory
|
||||
// so the derive macro doesn't panic.
|
||||
let dir = std::env::var("FRONTEND_BUILD_DIR")
|
||||
.unwrap_or_else(|_| "../../frontend/build/".to_string());
|
||||
let dir =
|
||||
std::env::var("FRONTEND_BUILD_DIR").unwrap_or_else(|_| "../../frontend/build/".to_string());
|
||||
let path = std::path::Path::new(&dir);
|
||||
if !path.exists() {
|
||||
std::fs::create_dir_all(path).ok();
|
||||
|
||||
@@ -91,13 +91,13 @@ mod granular_acls;
|
||||
mod group_history;
|
||||
mod groups;
|
||||
mod health;
|
||||
mod hub_publish;
|
||||
#[cfg(feature = "private")]
|
||||
pub mod indexer_ee;
|
||||
mod indexer_oss;
|
||||
#[cfg(feature = "private")]
|
||||
mod inkeep_ee;
|
||||
mod inkeep_oss;
|
||||
mod hub_publish;
|
||||
mod integration;
|
||||
mod internal_db;
|
||||
mod live_migrations;
|
||||
|
||||
Reference in New Issue
Block a user