mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Adjust workspace name length limit to 32 runes Fix https://github.com/siyuan-note/siyuan/issues/9440
This commit is contained in:
parent
996d160d8b
commit
785f467a99
1 changed files with 2 additions and 1 deletions
|
|
@ -331,7 +331,8 @@ func isInvalidWorkspacePath(absPath string) bool {
|
|||
if !gulu.File.IsValidFilename(name) {
|
||||
return true
|
||||
}
|
||||
if 16 < utf8.RuneCountInString(name) {
|
||||
if 32 < utf8.RuneCountInString(name) {
|
||||
// Adjust workspace name length limit to 32 runes https://github.com/siyuan-note/siyuan/issues/9440
|
||||
return true
|
||||
}
|
||||
toLower := strings.ToLower(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue