Fixed code that used the wrong path manipulation module
This commit is contained in:
parent
88757ef736
commit
211adff0b0
4 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue