- commit
- 27df5bc
- parent
- 56dd37a
- author
- Eric Bower
- date
- 2023-06-18 15:35:41 +0000 UTC
refactor: rm `/html` prefix in public folder
1 files changed,
+1,
-1
M
main.go
M
main.go
+1,
-1
1@@ -136,7 +136,7 @@ func writeHtml(data *WriteData) {
2 bail(err)
3
4 outdir := viper.GetString("outdir")
5- dir := path.Join(outdir, "html", data.RepoName, data.Subdir)
6+ dir := path.Join(outdir, data.RepoName, data.Subdir)
7 fmt.Println(dir)
8 fmt.Println(data.Name)
9 err = os.MkdirAll(dir, os.ModePerm)