fix types issue

This commit is contained in:
Chen, Tai-Lin committed 2024-03-05 00:27:08 +08:00
1 parent ec63bba0fe
commit 807974d727
15 files changed
+49 -25

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ export async function deleteContainer(id: string) {
}
try {
await container.stop()
} catch (error) {
} catch (error: any) {
logger.warn('Failed to stop container', id)
}
await container.remove()
@@ -127,7 +127,7 @@ export function buildQuestImage(questPath: string, questId: string) {
.forEach((line: string) => {
parseJSONOutput(line)
})
} catch (error) {
} catch (error: any) {
reject(error)
}
})