diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6873f25..a47765e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ First off, thanks for taking the time to contribute! Feel free to make Pull Requ Go >= 1.16.0 -# Proccess +# Process 1. Fork repo 2. git clone diff --git a/cmd/uninstall.go b/cmd/uninstall.go index c06dd40d..c14f24d4 100644 --- a/cmd/uninstall.go +++ b/cmd/uninstall.go @@ -42,14 +42,14 @@ func deleteConfig(fs afero.Fs) { results, err := afero.Glob(fs, getConfigLocalYamlPattern()) if err != nil { - log.Println("Error occured while remove config file!:", err.Error()) + log.Println("Error occurred while remove config file!:", err.Error()) } for _, fileName := range results { err = fs.Remove(getConfigLocalYamlPattern()) if err == nil { log.Println(fileName, "removed") } else { - log.Println("Error occured while remove config file!:", err.Error()) + log.Println("Error occurred while remove config file!:", err.Error()) } } } @@ -73,7 +73,7 @@ func DeleteGitHooks(fs afero.Fs) { hooksPath := getGitHooksPath() hooks, err := afero.ReadDir(fs, hooksPath) - if (err != nil) { + if err != nil { log.Println("⚠️ ", au.Bold(hooksPath), "directory does not exist, creating") if err := os.Mkdir(hooksPath, os.ModePerm); err != nil { log.Println(au.Brown("🚨 Failed to create"), au.Bold(hooksPath), au.Brown("directory"))