Remove unnecessary return statements in repo task and repo states
This commit is contained in:
@@ -17,7 +17,7 @@ export async function writeRepoStates(
|
||||
}),
|
||||
);
|
||||
|
||||
return await outputJson(storagePath, repoStatesData);
|
||||
await outputJson(storagePath, repoStatesData);
|
||||
}
|
||||
|
||||
export async function readRepoStates(
|
||||
|
||||
@@ -11,10 +11,7 @@ export async function writeRepoTask(
|
||||
repoTask: VariantAnalysisRepositoryTask,
|
||||
): Promise<void> {
|
||||
const repoTaskData = mapRepoTaskToData(repoTask);
|
||||
return await outputJson(
|
||||
join(storageDirectory, REPO_TASK_FILENAME),
|
||||
repoTaskData,
|
||||
);
|
||||
await outputJson(join(storageDirectory, REPO_TASK_FILENAME), repoTaskData);
|
||||
}
|
||||
|
||||
export async function readRepoTask(
|
||||
|
||||
Reference in New Issue
Block a user