slash path fixed

This commit is contained in:
alessio 2016-08-23 02:15:22 +02:00
parent 8eddfb3189
commit 69d13b4b2a
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ package realize
import ( import (
"bufio" "bufio"
"bytes" "bytes"
"fmt"
"io" "io"
"log" "log"
"os" "os"

View File

@ -103,7 +103,7 @@ func (p *Project) watching() {
} }
defer end() defer end()
if p.Path == "." { if p.Path == "." || p.Path == "/" {
p.base = wd p.base = wd
p.Path = WorkingDir() p.Path = WorkingDir()
} else { } else {