Skip to content

Commit 4e0bd22

Browse files
cmaglieMatteoPologruto
authored andcommitted
Fixed lint warning
1 parent 386eb8c commit 4e0bd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devicenotification/devicenotification.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func Start(ctx context.Context, eventCB func(), errorCB func(msg string)) error
114114
for {
115115
// Verify running thread prerequisites
116116
if currThreadID := windows.GetCurrentThreadId(); currThreadID != osThreadID.Load() {
117-
panic(fmt.Sprintf("this function must run on the main OS Thread: currThread=%d, osThread=%d", currThreadID, osThreadID))
117+
panic(fmt.Sprintf("this function must run on the main OS Thread: currThread=%d, osThread=%d", currThreadID, osThreadID.Load()))
118118
}
119119

120120
var m win32.TagMSG

0 commit comments

Comments
 (0)