Skip to content

Commit

Permalink
chore: renames variable
Browse files Browse the repository at this point in the history
  • Loading branch information
diablouma committed May 16, 2024
1 parent 2c5e9f5 commit 3280559
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ type Props = {
spec: WfSpec
}

const isValidThreadRunNumberForCurrentWfRun = (threadRunNumberFromRedirection: number, wfRun: WfRun) => {
const isValidThreadRunNumberForCurrentWfRun = (threadRunNumber: number, wfRun: WfRun) => {
return (
!isNaN(threadRunNumberFromRedirection) &&
threadRunNumberFromRedirection >= 0 &&
!isNaN(threadRunNumber) &&
threadRunNumber >= 0 &&
wfRun &&
threadRunNumberFromRedirection <= wfRun.greatestThreadrunNumber
threadRunNumber <= wfRun.greatestThreadrunNumber
)
}

Expand Down

0 comments on commit 3280559

Please sign in to comment.