refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)

This commit is contained in:
Michael Kret
2023-05-10 18:10:03 +03:00
committed by GitHub
parent 1b1dc0e655
commit ed3bc154b0
114 changed files with 351 additions and 344 deletions

View File

@@ -359,14 +359,14 @@ export default mixins(
this.onLogout();
break;
case 'settings':
this.$router.push({ name: VIEWS.PERSONAL_SETTINGS });
void this.$router.push({ name: VIEWS.PERSONAL_SETTINGS });
break;
default:
break;
}
},
onLogout() {
this.$router.push({ name: VIEWS.SIGNOUT });
void this.$router.push({ name: VIEWS.SIGNOUT });
},
toggleCollapse() {
this.uiStore.toggleSidebarMenuCollapse();
@@ -502,7 +502,7 @@ export default mixins(
);
if (prompt.value) {
this.versionControlStore.sync({ commitMessage: prompt.value });
await this.versionControlStore.sync({ commitMessage: prompt.value });
}
},
},