-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Only minor changes #601
Only minor changes #601
Conversation
cmd.go
Outdated
err = numberMenu(cmdArgs.targets) | ||
|
||
return | ||
return numberMenu(cmdArgs.targets) | ||
} | ||
|
||
func handleSync() (err error) { |
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.
If these changes are made, it is not needed to name the return
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.
Agree, updated the pull request.
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.
I really wish you had separated the changes to main.go into a different pull request since it's a bit more than syntactic fluff. I'll still take care to review everything since it's all over the place
The desired granularity for pull requests differ from project to project, and is hard to specify in the contribution guidelines. |
Split out the changes to |
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.
I'm okay with it, I think it has 0 impact on speed, positive or negative and it doesn't seem harder to read. I'll wait on @Morganamilo to also chime in since this is pure syntactic sugar
As long as this is done consistently I don't mind. Might wanna rebase this against #585 though, as that's gonna be the next thing that gets merged as soon a we get a release. |
Thanks for merging! |
must
function anddefer
inmain.go
Accept or reject at will.
Thanks for creating yay!