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

@@ -119,7 +119,7 @@ export default mixins(workflowHelpers).extend({
wf_template_repo_session_id: this.workflowsStore.currentSessionId,
source: 'collection',
};
this.$externalHooks().run('templatesCollectionView.onUseWorkflow', telemetryPayload);
void this.$externalHooks().run('templatesCollectionView.onUseWorkflow', telemetryPayload);
this.$telemetry.track('User inserted workflow template', telemetryPayload);
this.navigateTo(event, VIEWS.TEMPLATE_IMPORT, id);
@@ -130,7 +130,7 @@ export default mixins(workflowHelpers).extend({
window.open(route.href, '_blank');
return;
} else {
this.$router.push({ name: page, params: { id } });
void this.$router.push({ name: page, params: { id } });
}
},
},