(path: string)
| 274 | } |
| 275 | |
| 276 | export function isWorkspacePlanAliasPath(path: string): boolean { |
| 277 | const normalizedPath = path.trim().replace(/^\/+|\/+$/g, '') |
| 278 | return ( |
| 279 | normalizedPath === WORKFLOW_PLANS_ALIAS_DIR || |
| 280 | normalizedPath.startsWith(`${WORKFLOW_PLANS_ALIAS_DIR}/`) |
| 281 | ) |
| 282 | } |
| 283 | |
| 284 | export function isPlanAliasPath(path: string): boolean { |
| 285 | return isWorkspacePlanAliasPath(path) || isWorkflowAliasPath(path) |
no test coverage detected