diff options
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,6 +50,8 @@ func init() { | |||
50 | for i, ext := range settings.exts { | 50 | for i, ext := range settings.exts { |
51 | settings.exts[i] = "." + strings.Trim(ext, ". ") | 51 | settings.exts[i] = "." + strings.Trim(ext, ". ") |
52 | } | 52 | } |
53 | *settings.sourceDir = strings.TrimPrefix(*settings.sourceDir, "./") | ||
54 | *settings.outputDir = strings.TrimPrefix(*settings.outputDir, "./") | ||
53 | } | 55 | } |
54 | 56 | ||
55 | func main() { | 57 | func main() { |