diff --git a/cli/types.ts b/cli/types.ts index c39f7688d7..555dc6a784 100644 --- a/cli/types.ts +++ b/cli/types.ts @@ -152,7 +152,7 @@ export function getTypeStrFromPath( | "folder" | "app" | "schedule" { - if (p.includes(".flow/")) { + if (p.includes(".flow" + path.sep)) { return "flow"; } const parsed = path.parse(p);