From 211adff0b060023fe0c91e1950d80d3a36d61868 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 12 Feb 2020 21:04:55 +0100 Subject: Fixed code that used the wrong path manipulation module --- config/workdir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/workdir.go') diff --git a/config/workdir.go b/config/workdir.go index 283fdc5..208df1a 100644 --- a/config/workdir.go +++ b/config/workdir.go @@ -4,7 +4,7 @@ import ( "fmt" "log" "os" - "path" + "path/filepath" ) const ( @@ -33,7 +33,7 @@ func (c *Config) checkWorkDir() { } } } - c.workDir = path.Clean(c.workDir) + c.workDir = filepath.Clean(c.workDir) if c.verbose { log.Println("Setting work directory to ", c.workDir) } -- cgit v1.2.3