Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed May 2, 2024
1 parent 9b84ddd commit 4907d21
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ const getNestedNodes = (
const componentRef = details.componentRef.name;
const component = components[componentRef];

const status = executions && executions.length > 0
? parseRuntimeInfoFromExecutions(name, executions)
: parseRuntimeInfoFromRunDetails(name, runDetails);
const status =
executions && executions.length > 0
? parseRuntimeInfoFromExecutions(name, executions)
: parseRuntimeInfoFromRunDetails(name, runDetails);

const runAfter: string[] = details.dependentTasks ?? [];
const hasSubTask =
Expand Down Expand Up @@ -123,9 +124,10 @@ export const usePipelineTaskTopology = (
const executorLabel = component?.executorLabel;
const executor = executorLabel ? executors[executorLabel] : undefined;

const status = executions && executions.length > 0
? parseRuntimeInfoFromExecutions(taskId, executions)
: parseRuntimeInfoFromRunDetails(taskId, runDetails);
const status =
executions && executions.length > 0
? parseRuntimeInfoFromExecutions(taskId, executions)
: parseRuntimeInfoFromRunDetails(taskId, runDetails);

const nodes: PipelineNodeModelExpanded[] = [];
const runAfter: string[] = taskValue.dependentTasks ?? [];
Expand Down

0 comments on commit 4907d21

Please sign in to comment.