diff --git a/pkg/common/pathx/pathx.go b/pkg/common/pathx/pathx.go index 00e938f8..ac2a3543 100644 --- a/pkg/common/pathx/pathx.go +++ b/pkg/common/pathx/pathx.go @@ -202,10 +202,10 @@ func DirAndFileName(path string) (string, string) { func RandomDir(tmpDir string, prefix string) string { suffix, _ := goutils.RandomNumeric(8) - return Abs(filepath.Join(tmpDir, prefix+"_"+suffix)) + return filepath.Join(tmpDir, prefix+"_"+suffix) } func RandomFileName(tmpDir string, prefix string, extension string) string { suffix, _ := goutils.RandomNumeric(8) - return Abs(filepath.Join(tmpDir, prefix+"_"+suffix+extension)) + return filepath.Join(tmpDir, prefix+"_"+suffix+extension) }