Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
4cba9bf8
Commit
4cba9bf8
authored
Apr 25, 2022
by
Lucas Felix
Browse files
Reword message on yaml errors to inform files are just ignored
parent
a2407f02
Changes
2
Hide whitespace changes
Inline
Side-by-side
bliss/config/static.py
View file @
4cba9bf8
...
...
@@ -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
"
...
...
bliss/shell/cli/repl.py
View file @
4cba9bf8
...
...
@@ -555,7 +555,7 @@ def initialize(
if
config
.
invalid_yaml_files
:
print
()
print
(
f
"
Foun
d
{
len
(
config
.
invalid_yaml_files
)
}
YAML parsing error(s), use config.parsing_report() for details.
\n
"
f
"
Ignore
d
{
len
(
config
.
invalid_yaml_files
)
}
YAML
file(s) due to
parsing error(s), use config.parsing_report() for details.
\n
"
)
# Setup(s)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment