Skip to content

Commit

Permalink
remove extraneous whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
  • Loading branch information
ianlewis committed Nov 4, 2024
1 parent 571ae84 commit 99a3439
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions idx/idx.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ func openIdxFile(ifoPath string) (*os.File, error) {
if !errors.Is(err, os.ErrNotExist) {
return nil, fmt.Errorf("opening .idx file: %w", err)
}

}

// Catch the case when no .idx file was found.
Expand All @@ -159,7 +158,6 @@ func NewFromIfoPath(ifoPath string, options *Options) (*Idx, error) {
r = f

idxExt := strings.ToLower(filepath.Ext(f.Name()))
//nolint:gocritic // strings.EqualFold should not be used here.
if idxExt == ".gz" || idxExt == ".dz" {
r, err = gzip.NewReader(r)
if err != nil {
Expand Down

0 comments on commit 99a3439

Please # to comment.