This commit is contained in:
Liang Ding 2023-01-05 19:37:27 +08:00
parent ab7c3d302a
commit 0fb04830db
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -227,6 +227,9 @@ func isInvalidWorkspacePath(absPath string) bool {
if "" == name {
return true
}
if strings.HasPrefix(name, ".") {
return true
}
if !gulu.File.IsValidFilename(name) {
return true
}