Skip to content

Commit

Permalink
fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Mar 21, 2023
1 parent e94155b commit 4191802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/util/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func FilePathJoinAbs(elem ...string) string {
}
if !filepath.IsAbs(elems[0]) {
// This shouldn't happen. If there is really necessary to pass in relative path, return the full path with filepath.Abs() instead
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))
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))
}

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

0 comments on commit 4191802

Please sign in to comment.