Skip to content

Commit

Permalink
Remove a left-over debugging line :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
mholiday-nyt authored and bombsimon committed Apr 20, 2021
1 parent 8084c59 commit 6d756b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wsl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,6 @@ func (p *Processor) findLeadingAndTrailingWhitespaces(ident *ast.Ident, stmt, ne
// And now if the first statement is passed the number of allowed lines,
// then we had extra WS, possibly before the first comment group.
if p.nodeStart(firstStatement) > blockStartLine+allowedLinesBeforeFirstStatement {
fmt.Printf("error: p.nodeStart(firstStatement)=%d, blockStartLine+allowedLinesBeforeFirstStatement=%d\n", p.nodeStart(firstStatement), blockStartLine+allowedLinesBeforeFirstStatement)
p.addError(
blockStartPos,
reasonBlockStartsWithWS,
Expand Down

0 comments on commit 6d756b6

Please sign in to comment.