(
config: ReturnType<Config["loadConfigOrDefault"]>,
workspaceId: string
)
| 6945 | } |
| 6946 | |
| 6947 | private getTaskDepth( |
| 6948 | config: ReturnType<Config["loadConfigOrDefault"]>, |
| 6949 | workspaceId: string |
| 6950 | ): number { |
| 6951 | assert(workspaceId.length > 0, "getTaskDepth: workspaceId must be non-empty"); |
| 6952 | |
| 6953 | return this.getTaskDepthFromParentById( |
| 6954 | this.buildAgentTaskIndex(config).parentById, |
| 6955 | workspaceId |
| 6956 | ); |
| 6957 | } |
| 6958 | |
| 6959 | private getTaskDepthFromParentById(parentById: Map<string, string>, workspaceId: string): number { |
| 6960 | let depth = 0; |
no test coverage detected