mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 00:00:46 +00:00
fix(cli): improve support for frontend scripts cli sync
This commit is contained in:
@@ -470,6 +470,7 @@ export async function elementsToMap(
|
||||
"sql",
|
||||
"gql",
|
||||
"ps1",
|
||||
"js",
|
||||
"lock",
|
||||
].includes(path.split(".").pop() ?? "")
|
||||
)
|
||||
|
||||
+2
-1
@@ -183,7 +183,8 @@ export function getTypeStrFromPath(
|
||||
parsed.ext == ".py" ||
|
||||
parsed.ext == ".sql" ||
|
||||
parsed.ext == ".gql" ||
|
||||
parsed.ext == ".ps1"
|
||||
parsed.ext == ".ps1" ||
|
||||
parsed.ext == ".js"
|
||||
) {
|
||||
return "script";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user