Skip to content

Reject non-decimal run max values - #10

Closed
aiirvizionz wants to merge 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/reject-nondecimal-run-max
Closed

Reject non-decimal run max values#10
aiirvizionz wants to merge 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/reject-nondecimal-run-max

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • Require moshcode run --max to be written as decimal digits.
  • Reject confusing JavaScript numeric forms such as 0x10, 1e2, and 3.5 instead of silently accepting them through Number().
  • Add CLI coverage for the rejected forms.

Validation

  • node --test
  • git diff --check

@ralyodio ralyodio closed this Jul 12, 2026
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