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

aoscx.rb: improve regex replacement to avoid whitespace commits #3195

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

heapdavid
Copy link
Contributor

When masking changing values, we were seeing the whitespace after the regex replace changing when the value being masked changed in length (e.g. fan speed went from 9750 to 10000 rpm). This caused unneccessary commits.

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

When masking changing values, we were seeing the whitespace after
the regex replace changing when the value being masked changed in
length (e.g. fan speed went from 9750 to 10000 rpm). This caused
unneccessary commits.
@robertcheramy robertcheramy merged commit ab63def into ytti:master Jun 19, 2024
5 checks passed
@heapdavid heapdavid deleted the aruba-cx-whitespace-fix branch June 20, 2024 09:58
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