diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-02 13:22:02 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-02 17:45:53 +1100 |
commit | 1337f6e76ad5a9293b2d32fd29cbe91e750814c6 (patch) | |
tree | 6ae1f0d78f6550d0c0b6f04e195303f08072077a /pkg/commands | |
parent | 4de31da4bee9c622d4c6b7152e4d918b79cb4a94 (diff) |
appease golangci
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/os.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index 44202e003..c55a7653e 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -215,7 +215,7 @@ func (c *OSCommand) AppendLineToFile(filename, line string) error { _, err = f.WriteString("\n" + line) if err != nil { - errors.Wrap(err, 0) + return errors.Wrap(err, 0) } return nil } |