aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index a090980..14a3be3 100644
--- a/main.go
+++ b/main.go
@@ -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
55func main() { 57func main() {