()
| 154 | * Path to the directory containing all icon assets for the current release channel. |
| 155 | */ |
| 156 | export function getIconDirectory() { |
| 157 | const devOrProd = getChannel() === 'development' ? 'dev' : 'prod' |
| 158 | return join(projectRoot, 'app', 'static', 'logos', devOrProd) |
| 159 | } |
| 160 | |
| 161 | export function getChannelFromReleaseBranch(): string { |
| 162 | const branchName = process.env.GITHUB_HEAD_REF ?? '' |
no test coverage detected