Skip to content

Commit 87db4c5

Browse files
committed
fix: no path join in error message
1 parent 15166ba commit 87db4c5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

journald.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"io"
99
"os"
1010
"os/exec"
11-
"path"
1211
"regexp"
1312
"strings"
1413

@@ -173,7 +172,7 @@ func requestFileMove(entry LogEntry, driveName string) {
173172
- %s
174173
175174
Make sure to move the file you just created to another location immediately!
176-
`, path.Join(getDriveDataPath(driveName), filePath))
175+
`, getDriveDataPath(driveName))
177176
if err := sendDesktopNotificationError(title, message); err != nil {
178177
fmt.Printf("Failed to send notification: %v\n", err)
179178
}

0 commit comments

Comments
 (0)