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 (
"bufio"
"bytes"
"fmt"
"io"
"log"
"os"

View File

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