mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
fix forking workspace scripts on app incorrect path
This commit is contained in:
@@ -232,6 +232,9 @@ pub async fn handle_python_job(
|
||||
.replace("-", "_");
|
||||
let dirs = if dirs_full.len() > 0 {
|
||||
dirs_full
|
||||
.strip_prefix("/")
|
||||
.unwrap_or(&dirs_full)
|
||||
.to_string()
|
||||
} else {
|
||||
"tmp".to_string()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user