Skip to content

Commit 10673ca

Browse files
author
Frank
committed
sync
1 parent c45ae8a commit 10673ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

github/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ process.exit(exitCode)
229229

230230
function assertContextEvent(...events: string[]) {
231231
const context = useContext()
232-
// TODO
233-
console.log(context)
234-
if (events.includes(context.eventName)) {
232+
if (!events.includes(context.eventName)) {
235233
core.setFailed(`Unsupported event type: ${context.eventName}`)
236234
process.exit(1)
237235
}

0 commit comments

Comments
 (0)