Skip to content

Commit

Permalink
#11 check stricter
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 19, 2024
1 parent 9625963 commit cbc5f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/eolang/lints/LintByXsl.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Collection<Defect> defects(final XML xmir) {
*/
private static XML sanitized(final XML xmir) {
final String[] paths = {
"/program/metas/meta[not(@line)]",
"/program/metas/meta[not(@line) or @line='']",
};
for (final String xpath : paths) {
if (!xmir.nodes(xpath).isEmpty()) {
Expand Down

0 comments on commit cbc5f7e

Please sign in to comment.