Skip to content

Commit

Permalink
Merge pull request #134 from kit-sdq/fix/slashes
Browse files Browse the repository at this point in the history
Hotfix: Normalize annotation paths to /
  • Loading branch information
uuqjz authored Oct 21, 2024
2 parents fc3d080 + c7ee3d8 commit e75caad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class Annotation {
public Annotation(AnnotationDTO dto, MistakeType mistakeType) {
this.uuid = dto.uuid();
this.type = mistakeType;
this.filePath = dto.classFilePath();
this.filePath = dto.classFilePath().replace("\\", "/");
this.startLine = dto.startLine();
this.endLine = dto.endLine();
this.source = dto.source() != null ? dto.source() : AnnotationSource.UNKNOWN;
Expand Down

0 comments on commit e75caad

Please sign in to comment.