Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed May 11, 2021
1 parent be0bf50 commit 9e22b86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <forked_repo>
Expand Down
6 changes: 3 additions & 3 deletions cmd/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}
}
Expand All @@ -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"))
Expand Down

0 comments on commit 9e22b86

Please sign in to comment.