Skip to content

Commit

Permalink
fix template generat when when there is a DB and not worker
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanelad committed Dec 16, 2024
1 parent 9e96097 commit 27d47d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@ cfg_if::cfg_if! {
use crate::doctor;
use crate::boot::{run_db};
use crate::db;
use std::process::exit;
} else {}
}

#[cfg(any(
feature = "bg_redis",
feature = "bg_pg",
feature = "bg_sqlt",
feature = "with-db"
))]
use std::process::exit;

use std::{collections::BTreeMap, path::PathBuf};

#[cfg(any(feature = "bg_redis", feature = "bg_pg", feature = "bg_sqlt"))]
Expand Down

0 comments on commit 27d47d8

Please sign in to comment.