Skip to content

Commit

Permalink
Fix line number.
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik committed Apr 24, 2017
1 parent be33f78 commit 203e8bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function (txt, opt) {
return;
var offset = +parts[0];
var file = parts[1];
var line = ++parts[2];
var line = +parts[2];

map.addMapping({
generated: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "txt2map4wasm",
"version": "1.0.2",
"version": "1.0.3",
"description": "Translates wasm text source map to JSON map",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 203e8bd

Please sign in to comment.