Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ linters:
checks:
- all
- '-ST1005' # disable rule 'Incorrectly formatted error string'
- '-ST1006' # disable rule 'Poorly chosen receiver name'
- '-ST1008' # disable rule 'Function’s error value should be its last return value'
- '-ST1023' # disable rule 'Redundant type in variable declaration'
- '-QF1001' # disable rule 'Apply De Morgan’s law'
Expand Down
2 changes: 1 addition & 1 deletion internal/hooks/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type ShellCommand interface {
type ShellExec struct{}

// command sets arguments for the shell supported by the current operating system
func (_ ShellExec) command(name string, arg ...string) *exec.Cmd {
func (ShellExec) command(name string, arg ...string) *exec.Cmd {
script := fmt.Sprintf("%s %s", name, strings.Join(arg, " "))
switch {
case runtime.GOOS == "windows":
Expand Down
Loading