mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-14 07:19:45 +05:00
fix
This commit is contained in:
@@ -20,7 +20,7 @@ pub async fn start_service() -> anyhow::Result<()> {
|
|||||||
|
|
||||||
println!("Starting zaprett service...");
|
println!("Starting zaprett service...");
|
||||||
|
|
||||||
let tmp_dir = MODULE_PATH.join("/tmp");
|
let tmp_dir = MODULE_PATH.join("tmp");
|
||||||
if tmp_dir.exists() {
|
if tmp_dir.exists() {
|
||||||
fs::remove_dir_all(&tmp_dir).await?;
|
fs::remove_dir_all(&tmp_dir).await?;
|
||||||
fs::create_dir_all(&tmp_dir).await?;
|
fs::create_dir_all(&tmp_dir).await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user