(path: string)
| 264 | } |
| 265 | |
| 266 | export function isWorkflowAliasPath(path: string): boolean { |
| 267 | const normalizedPath = path.trim().replace(/^\/+|\/+$/g, '') |
| 268 | return ( |
| 269 | normalizedPath.startsWith('workflows/') && |
| 270 | (normalizedPath.endsWith(`/${WORKFLOW_CHANGELOG_ALIAS_NAME}`) || |
| 271 | normalizedPath.includes(`/${WORKFLOW_PLANS_ALIAS_DIR}/`) || |
| 272 | normalizedPath.endsWith(`/${WORKFLOW_PLANS_ALIAS_DIR}`)) |
| 273 | ) |
| 274 | } |
| 275 | |
| 276 | export function isWorkspacePlanAliasPath(path: string): boolean { |
| 277 | const normalizedPath = path.trim().replace(/^\/+|\/+$/g, '') |
no test coverage detected