Fix CI, tauri, angular, go-test

This commit is contained in:
Vladimir Stoilov
2024-07-16 12:31:52 +03:00
parent c868598deb
commit 919cfd89eb
3 changed files with 11 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ function asyncInvoke<T>(method: string, args: object): Promise<T> {
if (typeof event.payload === 'object' && 'error' in event.payload) {
reject(event.payload);
return
};
}
resolve(event.payload);
})
@@ -130,7 +130,7 @@ export class TauriIntegrationService implements IntegrationService {
}
}
get_state(key: string): Promise<string> {
get_state(_: string): Promise<string> {
return invoke<string>("get_state");
}
@@ -150,7 +150,7 @@ export class TauriIntegrationService implements IntegrationService {
}
onExitRequest(cb: () => void): () => void {
let unlisten: () => void = () => { };
let unlisten: () => void = () => undefined;
listen('exit-requested', () => {
cb();
@@ -189,7 +189,7 @@ export class TauriIntegrationService implements IntegrationService {
return;
}
let promptWindow = new Window("prompt", {
const promptWindow = new Window("prompt", {
alwaysOnTop: true,
decorations: false,
minimizable: false,