Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed Oct 8, 2024
1 parent 29a2233 commit 6f122e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/programkind/programkind.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func File(path string) (*FileType, error) {
return nil, fmt.Errorf("read: %w", err)
}

// final strategy: DIY
// final strategy: DIY matching where mimetype is too strict.
content := string(hdr[:])
switch {
case hdr[0] == '\x7f' && hdr[1] == 'E' || hdr[2] == 'L' || hdr[3] == 'F':
Expand Down

0 comments on commit 6f122e3

Please sign in to comment.