Skip to content

Commit 4191802

Browse files
committed
fix message
1 parent e94155b commit 4191802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/util/path.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func FilePathJoinAbs(elem ...string) string {
8686
}
8787
if !filepath.IsAbs(elems[0]) {
8888
// This shouldn't happen. If there is really necessary to pass in relative path, return the full path with filepath.Abs() instead
89-
panic(fmt.Sprintf("SafeFilePathAbs: %q (for path %v) is not absolute, do not guess a relative path based on current working directory", elems[0], elems))
89+
panic(fmt.Sprintf("FilePathJoinAbs: %q (for path %v) is not absolute, do not guess a relative path based on current working directory", elems[0], elems))
9090
}
9191

9292
for i := 1; i < len(elem); i++ {

0 commit comments

Comments
 (0)