We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e878b5e commit 5616b50Copy full SHA for 5616b50
tools/validate_workflows.py
@@ -54,7 +54,7 @@ def validate_json_file(path: str) -> Tuple[bool, Optional[str]]:
54
(is_valid, error_message) - error_message is None if valid
55
"""
56
try:
57
- with open(path, 'r', encoding='utf-8', errors='ignore') as f:
+ with open(path, 'r', encoding='utf-8', errors='replace') as f:
58
content = f.read().strip()
59
60
# Skip empty files
0 commit comments