mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Requalify utf8 check for .md file as Error
This commit is contained in:
parent
bbd00502ad
commit
c205c300e7
1 changed files with 2 additions and 2 deletions
|
@ -712,8 +712,8 @@ class App(TestSuite):
|
||||||
if not file_:
|
if not file_:
|
||||||
continue
|
continue
|
||||||
file_ = file_.split()[0]
|
file_ = file_.split()[0]
|
||||||
yield Warning(
|
yield Error(
|
||||||
"%s appears to be encoded as latin-1 / iso-8859-1. Please consider converting it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick."
|
"%s appears to be encoded as latin-1 / iso-8859-1. Please convert it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick."
|
||||||
% file_
|
% file_
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue