🚨 Silence linter warnings I don't care about
This commit is contained in:
parent
aaa92bf151
commit
72295c53cf
3 changed files with 14 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ func NewMerger(args []string) (*Merger, error) {
|
|||
}
|
||||
fs := make([]*os.File, len(args))
|
||||
for idx, pth := range args {
|
||||
//nolint:gosec // Yes, of course
|
||||
fs[idx], err = os.Open(pth)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue