summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-14 18:49:17 -0700
committerJeff Carr <[email protected]>2019-06-14 18:49:17 -0700
commit6bfa20048270bfb5518c62517b7b8261d7adc7b3 (patch)
treec5da455ef697b33534f713c4e6b8a9918bf1e946
parent177e6652442c18c7b6e9a32fd78c7583fdbd34d0 (diff)
more debugging on replace
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--windowsWrapper.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/windowsWrapper.go b/windowsWrapper.go
index c9fafcf..1f33ae7 100644
--- a/windowsWrapper.go
+++ b/windowsWrapper.go
@@ -11,9 +11,12 @@ func Execname(filename string) string {
}
func Path(filename string) string {
+ log.Println("shell.Path() START filename =", filename)
if runtime.GOOS != "windows" {
+ log.Println("shell.Path() END filename =", filename)
return filename
}
filename = strings.Replace(filename, "/", "\\", -1)
+ log.Println("shell.Path() END filename =", filename)
return filename
}