Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
refactor: baseStatus -> status
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackarySantana committed Feb 20, 2024
1 parent 86d2080 commit 4fa8c5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/task/actionButtons/relevantCommits/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const RelevantCommits: React.FC<RelevantCommitsProps> = ({ taskId }) => {
buildVariant,
displayName,
projectIdentifier,
status: baseStatus,
status,
versionMetadata,
} = taskData?.task ?? {};
const { order: skipOrderNumber } = versionMetadata?.baseVersion ?? {};
Expand Down Expand Up @@ -100,8 +100,8 @@ export const RelevantCommits: React.FC<RelevantCommitsProps> = ({ taskId }) => {
skip:
!parentTask ||
!lastPassingTask ||
baseStatus === undefined ||
baseStatus === TaskStatus.Succeeded,
status === undefined ||
status === TaskStatus.Succeeded,
variables: {
projectIdentifier,
skipOrderNumber: passingOrderNumber + 2,
Expand Down

0 comments on commit 4fa8c5d

Please sign in to comment.