From a0cbb1c7d5cf9507094fcc525614f5bfab0d14cc Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 6 Jun 2023 18:41:49 +0300 Subject: [PATCH] fmt --- .changes/window-incognito.md | 2 +- plugins/stronghold/guest-js/index.ts | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) 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)); } /**