Skip to content

Commit 3b206ef

Browse files
committed
Fix lint warning
1 parent 5d18ae0 commit 3b206ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executils/process.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type Process struct {
3434
// The first argument is the path to the executable, the remainder are the
3535
// arguments to the command.
3636
func NewProcess(args ...string) (*Process, error) {
37-
if args == nil || len(args) == 0 {
37+
if len(args) == 0 {
3838
return nil, errors.New(tr("no executable specified"))
3939
}
4040
p := &Process{

0 commit comments

Comments
 (0)