chore: sync workflows, scripts, and configurations from MokoStandards

This commit is contained in:
Moko Standards Bot
2026-02-01 02:08:21 +00:00
parent b50902650b
commit 841f5b14ef
5 changed files with 54 additions and 33 deletions

View File

@@ -112,8 +112,9 @@ class RepositoryStructureValidator:
return "json"
elif content.startswith('<?xml') or content.startswith('<'):
return "xml"
except Exception:
pass
except Exception as e:
# Log error and continue to raise ValueError below
print(f"Warning: Failed to read schema file for format detection: {e}", file=sys.stderr)
# Unable to detect format
raise ValueError(f"Unable to detect schema format for {self.schema_path}")