mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
correctly do relative paths in windows
This commit is contained in:
parent
fa522c3e54
commit
13bf5994dc
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue