remove unused import

This commit is contained in:
undefined committed 2022-01-24 19:33:37 +08:00
1 parent cfdf9fe7a4
commit 53e1894527
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ class SystemSettingHandler extends SystemHandler {
const raw = system.get('_') || '';
let config = yaml.load(raw);
const valid = validator(config);
if (!(raw?.trim() && valid)) {
if (!(raw.trim() && valid)) {
const data = {};
for (const key in schema.properties) {
data[key] = {};