mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-04 23:17:39 +08:00
refactor subProcessOfCheckAndDownloadDependencies exit event handler - change the reject's argument to a string
This commit is contained in:
@@ -175,7 +175,7 @@ export function createMainWindow(): void {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
reject(exitCode)
|
reject('PUPPETEER_DOWNLOAD_ENCOUNTER_ERROR')
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user