Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
log branch patterns and topics
Browse files Browse the repository at this point in the history
  • Loading branch information
slimslenderslacks committed Oct 26, 2020
1 parent 1fb418d commit e576b48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var checkBranchPattern = (patterns, branch) => {

var convergeBranchRules = async (request, repo, branch) => {
console.info(`check branch ${branch} using topic ${request.topic}`);
console.info(`repo topics ${repo.topics}`);
console.info(`branch patterns ${request.branchPatterns}`);
if (
request.topic &&
Expand All @@ -44,7 +43,6 @@ var convergeBranchRules = async (request, repo, branch) => {
request.branchPatterns &&
checkBranchPattern(request.branchPatterns, branch)
) {
console.info("branch it");
await repo.branchProtectionRule(
branch,
{
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"atm:lint:prettier": "prettier --write"
},
"dependencies": {
"@atomist/api-cljs": "^0.4.116"
"@atomist/api-cljs": "^0.4.117"
},
"main": "node_modules/@atomist/api-cljs/app.js",
"devDependencies": {
Expand Down

0 comments on commit e576b48

Please sign in to comment.