Skip to content

Commit

Permalink
fix: fix path detection
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed May 14, 2021
1 parent 69cabc5 commit 59ef2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pterm-ci-cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func walkOverExt(path, exts string, f func(path string)) {
}

func getPathTo(file string) string {
_, scriptPath, _, _ := runtime.Caller(1)
_, scriptPath, _, _ := runtime.Caller(2)
return filepath.Join(scriptPath, "../../", file)
}

Expand Down

0 comments on commit 59ef2fa

Please sign in to comment.