slash path fixed
This commit is contained in:
parent
8eddfb3189
commit
69d13b4b2a
|
@ -3,7 +3,6 @@ package realize
|
|||
import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue