Skip to content

Modules: Convert DisableNops property to Boolean in several modules #20299

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

bcoles
Copy link
Contributor

@bcoles bcoles commented Jun 10, 2025

As best I can tell, using a string literal does not result in unexpected behavior, so long as the author intended the value to be true. The default value is false.

The specified value is used verbatim without validation, but I don't think it will cause an issue as it is never used as anything other than a Boolean.

Regardless, we should be consistent with other modules.

@bcoles bcoles added the code quality Improving code quality label Jun 10, 2025
@msutovsky-r7 msutovsky-r7 self-assigned this Jun 10, 2025
@msutovsky-r7 msutovsky-r7 added the rn-no-release-notes no release notes label Jun 11, 2025
@msutovsky-r7 msutovsky-r7 merged commit a175e89 into rapid7:master Jun 11, 2025
22 checks passed
@bcoles bcoles deleted the modules-DisableNops branch June 11, 2025 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improving code quality rn-no-release-notes no release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants