Skip to content

Commit 76433f7

Browse files
committed
ci: fix linting on windows
1 parent 976d9a1 commit 76433f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filepicker/hidden_windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
func IsHidden(file string) (bool, error) {
1212
pointer, err := syscall.UTF16PtrFromString(file)
1313
if err != nil {
14-
return false, err
14+
return false, err //nolint:wrapcheck
1515
}
1616
attributes, err := syscall.GetFileAttributes(pointer)
1717
if err != nil {
18-
return false, err
18+
return false, err //nolint:wrapcheck
1919
}
2020
return attributes&syscall.FILE_ATTRIBUTE_HIDDEN != 0, nil
2121
}

0 commit comments

Comments
 (0)