Skip to content

ocrd network client workflow run: compare options in boolean context#1358

Merged
kba merged 1 commit into
masterfrom
assertion-unmatchable
May 5, 2026
Merged

ocrd network client workflow run: compare options in boolean context#1358
kba merged 1 commit into
masterfrom
assertion-unmatchable

Conversation

@kba
Copy link
Copy Markdown
Member

@kba kba commented May 5, 2026

Comparison between path to workflow and tasks provided must be in a boolean context, otherwise we're comparing string to boolean.

Bug introduced in https://github.com/OCR-D/core/pull/1337/changes#diff-71be56139c9cf750a2a524a33517ef092a7a010fc8115d79370c292fb7f01f5cL212

How I did not spot this before I don't know 😨

Copy link
Copy Markdown
Collaborator

@bertsky bertsky left a comment

Choose a reason for hiding this comment

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

absolutely

@kba kba force-pushed the assertion-unmatchable branch from 74e77c2 to d6b2565 Compare May 5, 2026 15:29
@kba kba merged commit d6b2565 into master May 5, 2026
14 checks passed
@kba kba deleted the assertion-unmatchable branch May 5, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants