* Strips the `refs/heads/` prefix from a default-branch ref so it can be used as * a `versionDescriptor.version` branch name.
(ref: string)
| 144 | * a `versionDescriptor.version` branch name. |
| 145 | */ |
| 146 | function stripRefsHeads(ref: string): string { |
| 147 | return ref.replace(/^refs\/heads\//, '') |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * Reads a trimmed string config value, returning '' when absent. |
no test coverage detected