Skip to content

Commit ca38809

Browse files
committed
Debugging for review types
1 parent b9f467a commit ca38809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ async function getReviewTypes () {
125125
*/
126126
async function getReviewTypeId (scorecardName) {
127127
const reviewTypes = await getReviewTypes()
128-
logger.info(`Review types: ${JSON.stringify(reviewTypes, null, 5)}`)
129-
logger.info(`Looking for: ${scorecardName}`)
130128
for (const reviewType of reviewTypes) {
131129
if (reviewType.name === scorecardName) {
130+
logger.info(`Looking for: ${scorecardName}, found: ${JSON.stringify(reviewType, null, 4)}`)
132131
return reviewType.id
133132
}
134133
}
134+
logger.info(`Looking for: ${scorecardName}, found NO MATCH`)
135135
return null
136136
}
137137

0 commit comments

Comments
 (0)