Resolve linter issues

This commit is contained in:
nxshock 2022-11-27 14:33:56 +05:00
parent fc684125cc
commit 87bc382747
3 changed files with 17 additions and 4 deletions

View file

@ -57,7 +57,7 @@ func encode(url string, w io.Writer) error {
buf := buffer.New(int64(config.BufferSize) * 1024 * 1024)
_, err = nio.Copy(w, out, buf)
if err != nil {
cmd.Process.Kill()
_ = cmd.Process.Kill()
}
return nil