We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceaaac4 commit 4936babCopy full SHA for 4936bab
bin/jsfmt
@@ -98,7 +98,7 @@ function handleJavascript(fullPath, original) {
98
var cwd = process.cwd();
99
var relativePath = path.relative(cwd, fullPath);
100
jsfmt.search(js, argv.search).forEach(function(match) {
101
- var node = match.node.parent ? match.node.parent : match.node;
+ var node = match.node;
102
var startLine = node.loc.start.line;
103
var endLine = node.loc.end.line;
104
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "jsfmt",
3
"description": "gofmt for javascript",
4
- "version": "0.0.7",
+ "version": "0.0.8",
5
"homepage": "https://github.com/rdio/jsfmt",
6
"main": "index.js",
7
"engines": {
0 commit comments