mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
bump version
This commit is contained in:
9 files changed
+11
-9
No files matched your search
@@ -372,7 +372,7 @@ function set(s: Setting, key: string, value: any) {
|
||||
if (!Types.Content[1](value)) throw new ValidationError(key);
|
||||
}
|
||||
if (s.type === 'text') {
|
||||
if (!Types.String[1](value)) throw new ValidationError(key);
|
||||
if (!Types.ShortString[1](value)) throw new ValidationError(key);
|
||||
}
|
||||
if (s.subType === 'yaml') {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user