Skip to content

Commit 074ae86

Browse files
committed
feat(#15): rebase
1 parent 2acca71 commit 074ae86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/eolang/lints/LtInvalidMarkdownComment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.cactoos.io.ResourceOf;
1818
import org.cactoos.text.IoCheckedText;
1919
import org.cactoos.text.TextOf;
20-
import org.eolang.parser.ObjectName;
20+
import org.eolang.parser.OnDefault;
2121

2222
/**
2323
* Comments should not be violated from the point of view of markdownlint.
@@ -80,7 +80,7 @@ private Stream<Defect> defectsOfXmir(final XML xmir, final MarkdownLinter mdlint
8080
defect -> new Defect.Default(
8181
this.name(),
8282
defect.severity(),
83-
new ObjectName(xmir).get(),
83+
new OnDefault(xmir).get(),
8484
line - 1 - length + defect.line(),
8585
defect.text()
8686
)

0 commit comments

Comments
 (0)