doc + bugfix

This commit is contained in:
2021-05-24 00:11:58 +03:00
parent 8ace5844f6
commit 0e24590e1d
3 changed files with 5 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ func (c *Command) Execute(args []string) (err error) {
return fmt.Errorf("create: %w", err)
}
defer func() {
err1 = outf.Close()
err1 := outf.Close()
if err == nil {
err = err1
}