chore: fix problematic comments (#2030)

This commit is contained in:
David Wood
2024-12-04 11:04:17 +08:00
committed by GitHub
parent 7da0f0d49e
commit 5ea588b813

View File

@@ -179,7 +179,7 @@ func CreateFileAndWriteContent(path string, content string) error {
return nil
}
// IsNotExistMkDir create a directory if it does not exist
// IsNotExistCreateFile create a file if it does not exist
func IsNotExistCreateFile(src string) error {
if notExist := CheckNotExist(src); notExist {
if err := CreateFile(src); err != nil {