mirror of https://github.com/schollz/croc.git
correctly do relative paths in windows
This commit is contained in:
parent
fa522c3e54
commit
13bf5994dc
|
@ -142,6 +142,7 @@ func NewConnection(config *AppConfig) (*Connection, error) {
|
|||
// check wether the file is a dir
|
||||
info, err := os.Stat(config.File)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
return c, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue