bump version

This commit is contained in:
undefined committed 2024-10-24 07:33:54 +08:00
1 parent 3c642de4e6
commit 87a3244f01
9 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "4.17.1",
"version": "4.17.2",
"bin": "bin/hydrooj.js",
"main": "src/plugin-api",
"module": "src/plugin-api",
+1 -1
View File
@@ -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 {