Skip to content

Commit c45ae8a

Browse files
author
Frank
committed
sync
1 parent 3c329de commit c45ae8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ let exitCode = 0
130130
type PromptFiles = Awaited<ReturnType<typeof getUserPrompt>>["promptFiles"]
131131

132132
assertContextEvent("issue_comment")
133-
throw new Error("Not implemented")
134133

135134
try {
136135
accessToken = await getAccessToken()
@@ -230,6 +229,8 @@ process.exit(exitCode)
230229

231230
function assertContextEvent(...events: string[]) {
232231
const context = useContext()
232+
// TODO
233+
console.log(context)
233234
if (events.includes(context.eventName)) {
234235
core.setFailed(`Unsupported event type: ${context.eventName}`)
235236
process.exit(1)

0 commit comments

Comments
 (0)