fix: trim .bun.ts for local imports

This commit is contained in:
Ruben Fiszel
2023-11-27 00:59:14 +01:00
parent 8275602372
commit d2b3026032
+2
View File
@@ -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");