Skip to content

Commit 6091e3e

Browse files
author
Alexej Yaroshevich
committed
errors: fixup buggy line counting
Fixes #19
1 parent 76b2c46 commit 6091e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/validate-jsdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports.prototype = {
5656
function addError(text, relLine, relColumn) {
5757
var line;
5858
var column;
59-
if (typeof relLine === 'object' && arguments.length < 3) {
59+
if (typeof relLine === 'object') {
6060
line = relLine.line;
6161
column = relLine.column;
6262
} else {

0 commit comments

Comments
 (0)