| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Less confusing to have it be a normal method.
Naming a variable `what` makes it difficult to understand what it is used for. Rename it to `gitlab_resource` as that is what is being stored. The Gitlab documentation talks about them being resources: https://docs.gitlab.com/ee/api/api_resources.html This will improve code readability.
Codecov Report
@@ Coverage Diff @@
## main #2053 +/- ##
=======================================
Coverage 94.52% 94.52%
=======================================
Files 78 78
Lines 4972 4972
=======================================
Hits 4700 4700
Misses 272 272
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
There was a problem hiding this comment.
I guess whaction should also be called resource_action then to match, if it doesn't get too verbose. But we can do that later
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
NOTE: This is based on top of PR: #2052
So can merge this and get both commits or merge #2052 first.
Naming a variable what makes it difficult to understand what it is
used for.
Rename it to gitlab_resource as that is what is being stored.
The Gitlab documentation talks about them being resources:
https://docs.gitlab.com/ee/api/api_resources.html
This will improve code readability.