diff --git a/index.js b/index.js index a0ae444..bbf7fa8 100644 --- a/index.js +++ b/index.js @@ -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: { diff --git a/package.json b/package.json index 6a82e6b..2df3e9d 100644 --- a/package.json +++ b/package.json @@ -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": {