log protected branches

Signed-off-by: dzdidi <deniszalessky@gmail.com>
This commit is contained in:
dzdidi
2024-02-11 17:22:10 +00:00
parent 638d379ec9
commit 8a326ef233

View File

@@ -317,7 +317,7 @@ async function share(name, branchToShare, options) {
function logBranches(name) {
const repoACL = acl.getACL(name)
console.log('Visibility:', '\t', repoACL.visibility)
console.log('Branch:')
console.log('Protected Branch(s):')
for (const branch of repoACL.protectedBranches) { console.log(branch) }
}
program.parse()