fix output-dir issue

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2022-04-11 12:57:09 +08:00
parent 4a52ce0ac2
commit 7743f317d1
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ func (c configImpl) Args() 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 {