fix: fixed name without extension resolver

master
amorozov 2024-06-28 19:59:50 +03:00
parent 525c37d8e3
commit f043233031
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/cmd/

View File

@ -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] {