fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373)

This commit is contained in:
Tomi Turtiainen
2024-01-18 11:28:01 +02:00
committed by GitHub
parent fc94377036
commit 1aa35b190a
67 changed files with 348 additions and 282 deletions

View File

@@ -60,7 +60,7 @@ export const useSourceControlStore = defineStore('sourceControl', () => {
};
const pullWorkfolder = async (force: boolean) => {
return vcApi.pullWorkfolder(rootStore.getRestApiContext, { force });
return await vcApi.pullWorkfolder(rootStore.getRestApiContext, { force });
};
const setPreferences = (data: Partial<SourceControlPreferences>) => {
@@ -103,11 +103,11 @@ export const useSourceControlStore = defineStore('sourceControl', () => {
};
const getStatus = async () => {
return vcApi.getStatus(rootStore.getRestApiContext);
return await vcApi.getStatus(rootStore.getRestApiContext);
};
const getAggregatedStatus = async () => {
return vcApi.getAggregatedStatus(rootStore.getRestApiContext);
return await vcApi.getAggregatedStatus(rootStore.getRestApiContext);
};
return {