diff --git a/.changes/window-incognito.md b/.changes/window-incognito.md index a6ed895a..5d64fb03 100644 --- a/.changes/window-incognito.md +++ b/.changes/window-incognito.md @@ -2,4 +2,4 @@ "window-js": "minor" --- -Add `incognito` window configuration option \ No newline at end of file +Add `incognito` window configuration option diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index 933543dc..1b28f4f1 100644 --- a/plugins/stronghold/guest-js/index.ts +++ b/plugins/stronghold/guest-js/index.ts @@ -436,10 +436,12 @@ export class Stronghold { * @returns */ static async load(path: string, password: string): Promise { - return await window.__TAURI_INVOKE__("plugin:stronghold|initialize", { - snapshotPath: path, - password, - }).then(() => new Stronghold(path)); + return await window + .__TAURI_INVOKE__("plugin:stronghold|initialize", { + snapshotPath: path, + password, + }) + .then(() => new Stronghold(path)); } /**