-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fixed typos and removed print #521
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
Conversation
✅ Heimdall Review Status
|
@@ -153,7 +153,7 @@ func createCommitMessage(updatedDependencies []VersionUpdateInfo, repoPath strin | |||
} else if !githubAction { | |||
cmd := exec.Command("git", "commit", "-am", commitTitle, "-m", commitDescription) | |||
if err := cmd.Run(); err != nil { | |||
return fmt.Errorf("error running git commit -m: %s", err) | |||
return fmt.Errorf("running git commit -m: %s", err) |
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.
is there a reason for removing the error in front? ex. here
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.
makes it a bit unclear and sounds like "running git commit -m" is currently being run
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.
hmm, yeah, that's my mistake. Sorry for that
makes it a bit unclear and sounds like "running git commit -m" is currently being run
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.
np! other changes are fine
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.
maybe just
return fmt.Errorf("failed to run git commit -m: %s", err)
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.
fixed sir
Edited error messages
Removed debug print