Update text in test descriptions and logging

Co-authored-by: MaksimZhukov <[email protected]>
This commit is contained in:
Josh Dales
2023-05-11 16:35:05 -04:00
committed by GitHub
co-authored by MaksimZhukov
parent 9cfddd0144
commit 51cc5e079c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export function checkAllBranch(
): boolean {
const branchName = getBranchName(branchBase);
if (!branchName) {
core.debug(` no branch name`);
core.debug(` cannot fetch branch name from the pull request`);
return false;
}
+1 -1
View File
@@ -126,7 +126,7 @@ export function getLabelConfigMapFromObject(
!configOptions.every(opts => typeof opts === 'object')
) {
throw Error(
`found unexpected type for label ${label} (should be array of config options)`
`found unexpected type for label '${label}' (should be array of config options)`
);
}
const matchConfigs = configOptions.reduce<MatchConfig[]>(