fix: fixed name without extension resolver
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/cmd/
|
||||||
@@ -43,7 +43,7 @@ func GetSimpleNameWithoutExtension(filePath string) string {
|
|||||||
return filePath
|
return filePath
|
||||||
}
|
}
|
||||||
|
|
||||||
return filepath.Join(split[:len(split)-1]...)
|
return strings.Join(split[:len(split)-1], "")
|
||||||
}
|
}
|
||||||
|
|
||||||
func SplitFileName(filePath string) *array_list.ArrayList[string] {
|
func SplitFileName(filePath string) *array_list.ArrayList[string] {
|
||||||
|
|||||||
Reference in New Issue
Block a user