ci: Fix prettier auto-formatting (no-changelog) (#7063)
This commit is contained in:
committed by
GitHub
parent
fa3d7070b0
commit
a693b29134
@@ -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');
|
||||
|
||||
@@ -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 [];
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user