Skip to content

Commit

Permalink
Fix checking idented comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krivak committed Jul 21, 2020
1 parent d23da41 commit be0454f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion godot.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func check(fset *token.FileSet, group *ast.CommentGroup, level int) (iss Issue,

pos := fset.Position(last.Slash)
pos.Line += p.line
pos.Column = p.column
pos.Column = p.column + level - 1

indent := strings.Repeat("\t", level-1)

Expand Down

0 comments on commit be0454f

Please sign in to comment.