fix win path separator

This commit is contained in:
2023-04-17 14:05:12 -04:00
parent ae3c13d6d3
commit 5523858d99

View File

@@ -81,6 +81,10 @@ func main() {
os.Exit(0) os.Exit(0)
} }
if runtime.GOOS == "windows" {
sep = "\\"
}
// Setup scaffold // Setup scaffold
u, err := user.Current() u, err := user.Current()
ifFerr("Unable to get current user details", err) ifFerr("Unable to get current user details", err)