mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-23 16:09:37 +08:00
Fix: await
This commit is contained in:
parent
6d5addced8
commit
dd5a66e1a4
@ -100,7 +100,7 @@ export default class DockerStartCommand extends InstanceCommand {
|
||||
|
||||
// Docker Image check
|
||||
try {
|
||||
instance.forceExec(new DockerPullCommand());
|
||||
await instance.forceExec(new DockerPullCommand());
|
||||
} catch (error) {
|
||||
return instance.failure(new StartupDockerProcessError($t("TXT_CODE_instance.dirEmpty")));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user