Skip to content

Commit 9dd4db0

Browse files
authored
fix function name in message
1 parent eaa7350 commit 9dd4db0

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
@@ -82,7 +82,7 @@ func SafeFilePathAbs(elem ...string) string {
8282
}
8383
if !filepath.IsAbs(elems[0]) {
8484
// This shouldn't happen. If there is really necessary to pass in relative path, return the full path with filepath.Abs() instead
85-
panic("FilePathJoinAbs: result is not absolute, do not guess a relative path based on current working directory")
85+
panic("SafeFilePathAbs: result is not absolute, do not guess a relative path based on current working directory")
8686
}
8787

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

0 commit comments

Comments
 (0)