Skip to content

Commit

Permalink
update error.offset to error.location
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoreis committed Sep 7, 2015
1 parent 82f0a4f commit 53582f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/DocumentationBuilder/JsdocPlugin/index.js
Expand Up @@ -42,7 +42,7 @@ function findDocblock (node, source, filename) {
offsetPositions(docblock, docblockStart);
return docblock;
} catch ( error ) {
throw new Error(error.message + " " + getDebugString(source, filename, docblockStart + error.offset));
throw new Error(error.message + " " + getDebugString(source, filename, docblockStart + error.location));
}
}

Expand Down

0 comments on commit 53582f7

Please sign in to comment.