Skip to content

fix: convert bool to numeric for count argument#23

Merged
Script47 merged 1 commit intoScript47:masterfrom
nacholiya:patch-1
Feb 18, 2026
Merged

fix: convert bool to numeric for count argument#23
Script47 merged 1 commit intoScript47:masterfrom
nacholiya:patch-1

Conversation

@nacholiya
Copy link
Contributor

Fixes issue #21

The count argument requires a numeric value, but a boolean was being used.
Converted the boolean to numeric using a conditional expression:
enabled ? 1 : 0

@Script47 Script47 merged commit 85a8e6a into Script47:master Feb 18, 2026
1 check passed
@Script47 Script47 linked an issue Feb 18, 2026 that may be closed by this pull request
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.

[guardrails] Error: Incorrect value type

2 participants

Comments