Fix initial entry reader shortcut on Windows

This commit is contained in:
2024-03-01 13:47:28 -05:00
parent adcc05f3f4
commit 7d5bd76489
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ func TargetIsFile(targetLocation string, errorOnFail bool) (bool, bool) {
targetInfo, err := os.Stat(targetLocation)
if err != nil {
if errorOnFail {
fmt.Println(AnsiError + "Failed to access " + targetLocation + " - ensure it exists and has the correct permissions" + AnsiReset)
fmt.Println(AnsiError + "Failed to access \"" + targetLocation + "\" - ensure it exists and has the correct permissions" + AnsiReset)
os.Exit(1)
} else {
return false, false