Skip to content

Commit 2dda422

Browse files
author
Frank
committed
sync
1 parent b8be1d0 commit 2dda422

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

github/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ async function assertOpencodeConnected() {
245245
let retry = 0
246246
let connected = false
247247
do {
248+
console.log("!@#!@#!@# TRYING")
248249
try {
249-
await client.app.get<false>()
250+
await client.app.get<true>()
250251
connected = true
251252
break
252253
} catch (e) {}
@@ -261,8 +262,7 @@ async function assertOpencodeConnected() {
261262
function assertContextEvent(...events: string[]) {
262263
const context = useContext()
263264
if (!events.includes(context.eventName)) {
264-
core.setFailed(`Unsupported event type: ${context.eventName}`)
265-
process.exit(1)
265+
throw new Error(`Unsupported event type: ${context.eventName}`)
266266
}
267267
return context
268268
}

0 commit comments

Comments
 (0)