Skip to content

Commit

Permalink
chore(deps): replace dependency eslint-config-standard-with-typescrip…
Browse files Browse the repository at this point in the history
…t 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 <[email protected]>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/8791882915

Co-authored-by: FabianLars <[email protected]>
  • Loading branch information
2 people authored and tauri-bot committed Apr 22, 2024
1 parent 0da0d17 commit f19a4f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api-iife.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist-js/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var core = require('@tauri-apps/api/core');
* @since 2.0.0
*/
async function exit(code = 0) {
return core.invoke("plugin:process|exit", { code });
await core.invoke("plugin:process|exit", { code });
}
/**
* Exits the current instance of the app then relaunches it.
Expand All @@ -38,7 +38,7 @@ async function exit(code = 0) {
* @since 2.0.0
*/
async function relaunch() {
return core.invoke("plugin:process|restart");
await core.invoke("plugin:process|restart");
}

exports.exit = exit;
Expand Down
4 changes: 2 additions & 2 deletions dist-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { invoke } from '@tauri-apps/api/core';
* @since 2.0.0
*/
async function exit(code = 0) {
return invoke("plugin:process|exit", { code });
await invoke("plugin:process|exit", { code });
}
/**
* Exits the current instance of the app then relaunches it.
Expand All @@ -36,7 +36,7 @@ async function exit(code = 0) {
* @since 2.0.0
*/
async function relaunch() {
return invoke("plugin:process|restart");
await invoke("plugin:process|restart");
}

export { exit, relaunch };
4 changes: 2 additions & 2 deletions guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

/**
Expand All @@ -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 };

0 comments on commit f19a4f0

Please sign in to comment.