Commit 4cba9bf8 authored by Lucas Felix's avatar Lucas Felix
Browse files

Reword message on yaml errors to inform files are just ignored

parent a2407f02
......@@ -832,7 +832,7 @@ class Config(metaclass=Singleton):
def parsing_report(self):
if self.invalid_yaml_files:
report = "YAML parsing error(s):\n"
report = f"Ignored {len(self.invalid_yaml_files)} YAML file(s) due to parsing error(s):\n"
for path, msg in self.invalid_yaml_files.items():
report += f" - {path}:\n"
report += f"{indent(msg, ' |')}\n"
......
......@@ -555,7 +555,7 @@ def initialize(
if config.invalid_yaml_files:
print()
print(
f"Found {len(config.invalid_yaml_files)} YAML parsing error(s), use config.parsing_report() for details.\n"
f"Ignored {len(config.invalid_yaml_files)} YAML file(s) due to parsing error(s), use config.parsing_report() for details.\n"
)
# Setup(s)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment