mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix types issue
This commit is contained in:
1 parent
ec63bba0fe
commit
807974d727
15 files changed
+49
-25
No files matched your search
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user