Skip to content

Commit

Permalink
feat: detect pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed May 14, 2021
1 parent 5b21803 commit 964a15a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pterm-ci-cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 964a15a

Please sign in to comment.