Skip to content

Commit

Permalink
Lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-doherty committed Sep 15, 2024
1 parent 2b6913a commit a850ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transcode/transcoder_caching.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"crypto/md5"
"fmt"
"io"
"os"
"io/fs"
"os"
"path/filepath"
"sort"
"sync"
Expand Down Expand Up @@ -109,7 +109,7 @@ func (t *CachingTranscoder) CacheEject() error {
unlock := t.locks.Lock(curFile.path)
err = os.Remove(curFile.path)
unlock()
if (err != nil) {
if err != nil {
return fmt.Errorf("remove cache file: %w", err)
}
}
Expand Down

0 comments on commit a850ef5

Please sign in to comment.