mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 (#1228)
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 * actually apply the rules lol * rebuild --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
@@ -23,7 +23,7 @@ import { invoke } from "@tauri-apps/api/core";
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function exit(code = 0): Promise<void> {
|
||||
return invoke("plugin:process|exit", { code });
|
||||
await invoke("plugin:process|exit", { code });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ async function exit(code = 0): Promise<void> {
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function relaunch(): Promise<void> {
|
||||
return invoke("plugin:process|restart");
|
||||
await invoke("plugin:process|restart");
|
||||
}
|
||||
|
||||
export { exit, relaunch };
|
||||
|
||||
Reference in New Issue
Block a user