Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bounds checking for user-specified numerical config options #126

Merged
merged 5 commits into from
Jun 13, 2024

Conversation

cd-rite
Copy link
Collaborator

@cd-rite cd-rite commented Jun 10, 2024

Add bounds checking for user-specified numerical config options.

min/max values specified in consts.js.
Checked in args.js.
Logs invalid config options, sets configValid = false if any are set out of bounds.

Resolves: #129

Copy link

Quality Gate Passed Quality Gate passed for 'NUWCDIVNPT_stigman-watcher'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@csmig csmig merged commit 24efe12 into main Jun 13, 2024
3 checks passed
@csmig csmig deleted the 2024-06-10-config-bounds branch June 13, 2024 00:53
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.

Add min/max bounds for user-specified numerical config options
2 participants