Skip to content

Commit

Permalink
one line fits fine
Browse files Browse the repository at this point in the history
  • Loading branch information
vansante committed Apr 27, 2020
1 parent 3ddb269 commit eaad339
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ffprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ func ProbeURL(ctx context.Context, fileURL string, extraFFProbeOptions ...string
// Add the file argument
args = append(args, fileURL)

cmd := exec.CommandContext(
ctx,
binPath,
args...,
)
cmd := exec.CommandContext(ctx, binPath, args...)

return runProbe(cmd)
}
Expand Down

0 comments on commit eaad339

Please sign in to comment.