-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix error when listing ds members that include '"' #1753
Conversation
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1753 +/- ##
=======================================
Coverage 92.79% 92.79%
=======================================
Files 422 422
Lines 7165 7165
Branches 1309 1309
=======================================
Hits 6649 6649
Misses 515 515
Partials 1 1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @t1m0thyj
Kudos, SonarCloud Quality Gate passed! |
@@ -135,7 +135,7 @@ export class EditUtilities { | |||
input = await CliUtils.readPrompt(TextUtils.chalk.green(promptText)); | |||
} | |||
while (input != null && input.toLowerCase() != 'y' && input.toLowerCase() != 'n'); | |||
if (input === null) { | |||
if (input == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😅
What It Does
Fixes a bug in the implementation of #1730 - error when listing data set members that include double quote in the name.
How to Test
There isn't really a way to test the changes manually. The error is only reproducible in the unit test "should list members from given data set that contains a member with an invalid name" which generates random member names to test with. The member name that was previously failing the test is
XK"¶J9 ^
, and I've verified that it now passes with this member name.Review Checklist
I certify that I have:
Additional Comments