-
Notifications
You must be signed in to change notification settings - Fork 92
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(ProfileUtils.ts): remove redundant isTheia() function in favor of global variable #2636
Conversation
Signed-off-by: Arvind <[email protected]>
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.
Hi @ArvindParekh,
I realized shortly after approving that some unit tests are failing - looks like its related to some Jest mocks for the removed ProfileUtils.isTheia
function. Once those are resolved I will approve 👍
SonarCloud code duplication resurfaced from old tests, no new duplication to worry about 😋 |
Signed-off-by: Trae Yelovich <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2636 +/- ##
==========================================
- Coverage 93.30% 93.28% -0.03%
==========================================
Files 102 102
Lines 10506 10499 -7
Branches 2251 2250 -1
==========================================
- Hits 9803 9794 -9
- Misses 702 704 +2
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.
Changes make sense to me
LGTM! 😋
Thanks @ArvindParekh and @traeok 😋
Perfect :) |
Quality Gate failedFailed conditions 20.0% Duplication on New Code (required ≤ 3%) |
Proposed changes
Fixes #2412
Release Notes
Milestone:
Changelog:
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments