ci: Fix prettier auto-formatting (no-changelog) (#7063)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-09-01 13:29:31 +02:00
committed by GitHub
parent fa3d7070b0
commit a693b29134
22 changed files with 285 additions and 234 deletions

View File

@@ -56,9 +56,8 @@ export class ActiveExecutions {
fullExecutionData.workflowId = workflowId;
}
const executionResult = await Container.get(ExecutionRepository).createNewExecution(
fullExecutionData,
);
const executionResult =
await Container.get(ExecutionRepository).createNewExecution(fullExecutionData);
executionId = executionResult.id;
if (executionId === undefined) {
throw new Error('There was an issue assigning an execution id to the execution');

View File

@@ -1251,9 +1251,8 @@ export class Server extends AbstractServer {
Object.assign(findOptions.where, { workflowId: In(sharedWorkflowIds) });
}
const executions = await Container.get(ExecutionRepository).findMultipleExecutions(
findOptions,
);
const executions =
await Container.get(ExecutionRepository).findMultipleExecutions(findOptions);
if (!executions.length) return [];

View File

@@ -54,9 +54,8 @@ export class SourceControlController {
await this.sourceControlPreferencesService.validateSourceControlPreferences(
sanitizedPreferences,
);
const updatedPreferences = await this.sourceControlPreferencesService.setPreferences(
sanitizedPreferences,
);
const updatedPreferences =
await this.sourceControlPreferencesService.setPreferences(sanitizedPreferences);
if (sanitizedPreferences.initRepo === true) {
try {
await this.sourceControlService.initializeRepository(

View File

@@ -317,9 +317,8 @@ export class ExecutionsService {
const workflowRunner = new WorkflowRunner();
const retriedExecutionId = await workflowRunner.run(data);
const executionData = await Container.get(ActiveExecutions).getPostExecutePromise(
retriedExecutionId,
);
const executionData =
await Container.get(ActiveExecutions).getPostExecutePromise(retriedExecutionId);
if (!executionData) {
throw new Error('The retry did not start for an unknown reason.');