commit
de37b00fcc
@ -18,7 +18,7 @@ var (
|
|||||||
// RPrefix tool name
|
// RPrefix tool name
|
||||||
RPrefix = "realize"
|
RPrefix = "realize"
|
||||||
// RVersion current version
|
// RVersion current version
|
||||||
RVersion = "2.0"
|
RVersion = "2.0.1"
|
||||||
// RExt file extension
|
// RExt file extension
|
||||||
RExt = ".yaml"
|
RExt = ".yaml"
|
||||||
// RFile config file name
|
// RFile config file name
|
||||||
|
@ -572,7 +572,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err
|
|||||||
name := filepath.Base(path)
|
name := filepath.Base(path)
|
||||||
if path == "." && p.Tools.Run.Dir == "" {
|
if path == "." && p.Tools.Run.Dir == "" {
|
||||||
name = filepath.Base(Wdir())
|
name = filepath.Base(Wdir())
|
||||||
} else {
|
} else if p.Tools.Run.Dir != "" {
|
||||||
name = filepath.Base(dirPath)
|
name = filepath.Base(dirPath)
|
||||||
}
|
}
|
||||||
path = filepath.Join(dirPath, name)
|
path = filepath.Join(dirPath, name)
|
||||||
|
Loading…
Reference in New Issue
Block a user