diff --git a/cli/sync.ts b/cli/sync.ts index cdf326a2e7..3d91367300 100644 --- a/cli/sync.ts +++ b/cli/sync.ts @@ -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() ?? "" ) ) diff --git a/cli/types.ts b/cli/types.ts index acdf5dde76..601722ca46 100644 --- a/cli/types.ts +++ b/cli/types.ts @@ -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"; }