mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-08 00:02:27 +00:00
fix: trim .bun.ts for local imports
This commit is contained in:
@@ -814,6 +814,8 @@ async fn raw_script_by_path(
|
||||
}
|
||||
let path = path
|
||||
.trim_end_matches(".py")
|
||||
.trim_end_matches(".bun.ts")
|
||||
.trim_end_matches(".deno.ts")
|
||||
.trim_end_matches(".ts")
|
||||
.trim_end_matches(".go")
|
||||
.trim_end_matches(".sh");
|
||||
|
||||
Reference in New Issue
Block a user