(tree: Tree)
| 142 | } |
| 143 | |
| 144 | async function resolveGitLabFilePath(tree: Tree): Promise<string> { |
| 145 | if (await tree.exists(GITLAB_CONFIG_PATH)) { |
| 146 | return GITLAB_CONFIG_SEPARATE_PATH; |
| 147 | } |
| 148 | return GITLAB_CONFIG_PATH; |
| 149 | } |
| 150 | |
| 151 | function isCiProvider(value: string | undefined): value is CiProvider { |
| 152 | const validValues: readonly string[] = CI_PROVIDERS; |