Merge pull request #31 from yxxhero/fix_outout_dir

fix output-dir issue
This commit is contained in:
Yusuke Kuoka 2022-04-14 08:20:14 +09:00 committed by GitHub
commit b5480123a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { func (c configImpl) OutputDir() string {
return c.c.String("output-dir") return strings.TrimRight(c.c.String("output-dir"), fmt.Sprintf("%c", os.PathSeparator))
} }
func (c configImpl) OutputDirTemplate() string { func (c configImpl) OutputDirTemplate() string {