We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976d9a1 commit 76433f7Copy full SHA for 76433f7
filepicker/hidden_windows.go
@@ -11,11 +11,11 @@ import (
11
func IsHidden(file string) (bool, error) {
12
pointer, err := syscall.UTF16PtrFromString(file)
13
if err != nil {
14
- return false, err
+ return false, err //nolint:wrapcheck
15
}
16
attributes, err := syscall.GetFileAttributes(pointer)
17
18
19
20
return attributes&syscall.FILE_ATTRIBUTE_HIDDEN != 0, nil
21
0 commit comments