mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature-274] fix non awaited promise in if statement
This commit is contained in:
@@ -96,7 +96,7 @@ export class OculusLauncherService extends AbstractLauncherService implements St
|
||||
|
||||
const prepareOriginalVersion: () => Promise<string> = async () => {
|
||||
await this.restoreOriginalBeatSaber();
|
||||
const bsPath = this.oculus.getGameFolder(OCULUS_BS_DIR);
|
||||
const bsPath = await this.oculus.getGameFolder(OCULUS_BS_DIR);
|
||||
if(!bsPath){
|
||||
throw new Error("Oculus Beat Saber path not found");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user