* Returns the baseline commit from the main branch, regardless of running * environment. * @return {string}
()
| 201 | * @return {string} |
| 202 | */ |
| 203 | function gitMainBaseline() { |
| 204 | if (isCiBuild()) { |
| 205 | return gitCiMainBaseline(); |
| 206 | } |
| 207 | return gitMergeBaseLocalMain(); |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Returns the diffs for given path based on the given commit |
no test coverage detected