Fix goimport and gosec warnings

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-04-26 15:07:36 -04:00
1 parent 5cd453afeb
commit ddeefad501
10 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func (ff *ffmpeg) Start(ctx context.Context, command, path string, maxBitRate in
args := createTranscodeCommand(command, path, maxBitRate)
log.Trace(ctx, "Executing ffmpeg command", "cmd", args)
cmd := exec.Command(args[0], args[1:]...)
cmd := exec.Command(args[0], args[1:]...) // #nosec
cmd.Stderr = os.Stderr
if f, err = cmd.StdoutPipe(); err != nil {
return