diff --git a/pterm-ci-cmd.go b/pterm-ci-cmd.go index bd872ce..4911fdf 100644 --- a/pterm-ci-cmd.go +++ b/pterm-ci-cmd.go @@ -109,7 +109,8 @@ func walkOverExt(path, exts string, f func(path string)) { } func getPathTo(file string) string { - return filepath.Join(rootPath, file) + dir, _ := os.Getwd() + return filepath.Join(dir, file) } func updateSidebar(docs []string) {