Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Fix/list credential #323

Merged
merged 2 commits into from
Jul 30, 2020
Merged

Fix/list credential #323

merged 2 commits into from
Jul 30, 2020

Conversation

victor-schumacher
Copy link
Contributor

- What I did
We change how the values ​​of the credentials are shown;
Before, long credentials, in the worst case scenario, had 50% of them cut off, causing the wrong impression;
Now, we show the first 4 characters and hide the rest

- How to verify it
rit list credential;
You need a credential with more then 20 characters

- Description for the changelog
rit list credential improvement

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (ritchie-2.0.0@50af162). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##             ritchie-2.0.0     #323   +/-   ##
================================================
  Coverage                 ?   65.24%           
================================================
  Files                    ?       78           
  Lines                    ?     2552           
  Branches                 ?        0           
================================================
  Hits                     ?     1665           
  Misses                   ?      725           
  Partials                 ?      162           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50af162...f84c29d. Read the comment docs.

@@ -73,15 +73,17 @@ func formatCredential(credential string) string {

return strings.Join(splitedCredential, "\"")
}

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this line stays, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@brunasilvazup
Right. As it was already merged, i will add the line back on my next pull request. Thanks!

@sandokandias sandokandias merged commit c2d338a into ZupIT:ritchie-2.0.0 Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 improvement Improvement in features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants