mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
fix: powershell local sync (#2489)
* fix: graphql local sync * fix: powershell local sync
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ async function elementsToMap(
|
||||
if (json && entry.path.endsWith(".yaml")) continue;
|
||||
if (!json && entry.path.endsWith(".json")) continue;
|
||||
if (
|
||||
!["json", "yaml", "go", "sh", "ts", "py", "sql", "gql"].includes(
|
||||
!["json", "yaml", "go", "sh", "ts", "py", "sql", "gql", "ps1"].includes(
|
||||
entry.path.split(".").pop() ?? ""
|
||||
)
|
||||
)
|
||||
|
||||
+2
-1
@@ -160,7 +160,8 @@ export function getTypeStrFromPath(
|
||||
parsed.ext == ".sh" ||
|
||||
parsed.ext == ".py" ||
|
||||
parsed.ext == ".sql" ||
|
||||
parsed.ext == ".gql"
|
||||
parsed.ext == ".gql" ||
|
||||
parsed.ext == ".ps1"
|
||||
) {
|
||||
return "script";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user