We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e76bb2 commit 8295cbeCopy full SHA for 8295cbe
1 file changed
internal/host/host.go
@@ -90,7 +90,7 @@ func GetHostKeyboardLayout() (string, error) {
90
line = strings.TrimSpace(line)
91
parts := strings.Split(line, " ")
92
if len(parts) < 2 {
93
- slog.Error("Unable to retrieve host keyboard layout: malformed output", "output", line)
+ slog.Error("Unable to retrieve host keyboard layout: malformed output")
94
return "", fmt.Errorf("unable to retrieve host keyboard layout: malformed output")
95
}
96
return parts[len(parts)-1], nil
0 commit comments