Skip to content

Commit

Permalink
chore: update readme, linter ignores, comments
Browse files Browse the repository at this point in the history
  • Loading branch information
temamagic committed Oct 21, 2020
1 parent 10f61a2 commit 129453c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ make
```

## TODO
- Linters
- Tests
- <s>Linters</s>
- <s>Tests</s>
- Homebrew
- More commands
- Blockchain support
- IPO in next year

## CHANGELOG
[CHANGELOG HERE](https://github.com/temamagic/pwe/CHANGELOG.md)

## 🤝 Contributing

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func main() {
fmt.Println("Що ти зробив:")

args := strings.Split(s, " ")
cmd := exec.Command("git", args[1:]...)
cmd := exec.Command("git", args[1:]...) //nolint:gosec
path, _ := os.Getwd()
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
Expand Down
1 change: 1 addition & 0 deletions replacer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var replacer = strings.NewReplacer(
"я", "z", "ч", "x", "с", "c", "м", "v", "и", "b", "т", "n", "ь", "m",
)

// Replace replaces string by pair groups
func Replace(s string) string {
return replacer.Replace(s)
}
2 changes: 1 addition & 1 deletion replacer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestReplace(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.input, func(t *testing.T) {
assert.Equal(t, tt.want, Replace(tt.input))
assert.Equal(t, tt.want, Replace(tt.input)) //nolint:scopelint
})
}
}

0 comments on commit 129453c

Please sign in to comment.