fix output-dir issue
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
4a52ce0ac2
commit
7743f317d1
2
main.go
2
main.go
|
|
@ -798,7 +798,7 @@ func (c configImpl) Args() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c configImpl) OutputDir() string {
|
func (c configImpl) OutputDir() string {
|
||||||
return c.c.String("output-dir")
|
return strings.TrimRight(c.c.String("output-dir"), "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c configImpl) OutputDirTemplate() string {
|
func (c configImpl) OutputDirTemplate() string {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue