Skip to content

Commit e310f2a

Browse files
committed
fix: fix output logging
1 parent 0dd738f commit e310f2a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ async function main() {
124124
(await request(eventObj.pull_request._links.commits.href))
125125
await processDirectory(dir, commits)
126126
}
127-
128-
logOutputs()
129127
}
130128

131129
function isURL(str: string) {
@@ -418,11 +416,7 @@ if (require.main == module) {
418416
output('changed', false)
419417
}
420418

421-
startGroup('Outputs')
422-
Object.entries(outputs).forEach(([key, value]) => {
423-
info(`${key}: ${value}`)
424-
})
425-
endGroup()
419+
logOutputs()
426420
})
427421
.catch((e) => {
428422
if (e instanceof NeutralExitError) process.exitCode = 78

0 commit comments

Comments
 (0)