Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Fix failure to load schema when there is no profile of that type#916

Merged
t1m0thyj merged 6 commits into
masterfrom
fix/profinfo-schema-error
Dec 14, 2022
Merged

Fix failure to load schema when there is no profile of that type#916
t1m0thyj merged 6 commits into
masterfrom
fix/profinfo-schema-error

Conversation

@t1m0thyj

Copy link
Copy Markdown
Member

Fixes #645

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@codecov

codecov Bot commented Dec 12, 2022

Copy link
Copy Markdown

Codecov Report

Base: 89.33% // Head: 89.34% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (63635ea) compared to base (a82c30f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #916   +/-   ##
=======================================
  Coverage   89.33%   89.34%           
=======================================
  Files         206      206           
  Lines       11180    11187    +7     
  Branches     2488     2488           
=======================================
+ Hits         9988     9995    +7     
  Misses       1192     1192           
Impacted Files Coverage Δ
packages/config/src/ProfileInfo.ts 97.52% <100.00%> (+0.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes LGTM!
However, I'm waiting for clarification on some of my comments/questions before I approve it

Comment thread packages/config/__tests__/ProfileInfo.TeamConfig.test.ts
Comment thread packages/config/src/ProfileInfo.ts Outdated
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Left a small question. The question only applied to ZE

Comment thread packages/config/src/ProfileInfo.ts
Comment thread packages/config/__tests__/ProfileInfo.TeamConfig.test.ts
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@t1m0thyj t1m0thyj merged commit f94bca1 into master Dec 14, 2022
@t1m0thyj t1m0thyj deleted the fix/profinfo-schema-error branch December 14, 2022 16:03
@t1m0thyj t1m0thyj added the release-patch Indicates a patch to existing code has been applied label Dec 14, 2022
@github-actions

Copy link
Copy Markdown

Release succeeded for the master branch. 🎉

The following packages have been published:

  • npm: @zowe/imperative@5.7.5

Powered by Octorelease 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-patch Indicates a patch to existing code has been applied released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to load schema for profile type sample

4 participants