Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit e1c9261

Browse files
committed
run gofmt -w -s ./..
1 parent ead2e75 commit e1c9261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/godotenv/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ example
4545

4646
// take rest of args and "exec" them
4747
cmd := args[0]
48-
cmdArgs := args[1:len(args)]
48+
cmdArgs := args[1:]
4949

5050
err := godotenv.Exec(envFilenames, cmd, cmdArgs)
5151
if err != nil {

0 commit comments

Comments
 (0)