-
Notifications
You must be signed in to change notification settings - Fork 23
[STORY-2259] Improve collaborator list to include is_limited #1126
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
[STORY-2259] Improve collaborator list to include is_limited #1126
Conversation
collaborators/list.go
Outdated
| t.Header([]string{"Email", "Username", "Status", "Is Limited"}) | ||
|
|
||
| t.Append([]string{scapp.Owner.Email, scapp.Owner.Username, CollaboratorOwner}) | ||
| _ = t.Append([]string{scapp.Owner.Email, scapp.Owner.Username, CollaboratorOwner, "false"}) |
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.
ℹ️ For some reason the CI complained and wanted me to handle the errors.
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.
No worries, our CI checks the lint on the diff with the master only.
So the old calls to Append either use an old version of the library that doesn't return an error, or were implemented before our CI checked for this kind of lint problem.
collaborators/list.go
Outdated
| t.Header([]string{"Email", "Username", "Status", "Is Limited"}) | ||
|
|
||
| t.Append([]string{scapp.Owner.Email, scapp.Owner.Username, CollaboratorOwner}) | ||
| _ = t.Append([]string{scapp.Owner.Email, scapp.Owner.Username, CollaboratorOwner, "false"}) |
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.
No worries, our CI checks the lint on the diff with the master only.
So the old calls to Append either use an old version of the library that doesn't return an error, or were implemented before our CI checked for this kind of lint problem.
SCedricThomas
left a comment
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.
Looks better this way. Good job
First iteration.

Second iteration.
