Skip to content

Conversation

marccampbell
Copy link
Member

Rename some variables.
Stop reusing the same error message.
And return true when it's ok.

if len(output) > 0 {
return false, ErrGitTreeNotClean
if len(gitStatusOutput) > 0 {
fmt.Printf("output: %s\n", gitStatusOutput)
Copy link
Member

Choose a reason for hiding this comment

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

👍

@marccampbell marccampbell merged commit 8850489 into main Oct 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants