Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix condition
  • Loading branch information
mbg committed Mar 5, 2026
commit 2a0060496cd11fc2992f8019e5f42e80dd109a86
2 changes: 1 addition & 1 deletion pr-checks/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function getSetupSteps(checkSpecification: JobSpecification): {

if (
setupSpec === undefined ||
checkSpecification[setupSpec.specProperty] === undefined
checkSpecification[setupSpec.specProperty] !== true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

Suggested change
checkSpecification[setupSpec.specProperty] !== true
!checkSpecification[setupSpec.specProperty]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personal preference, but I generally prefer the explicit check due to JS weirdness about truthiness.

) {
continue;
}
Expand Down