Skip to content

Commit 4936bab

Browse files
committed
Bumping version; no longer jumping to parent in search results
1 parent ceaaac4 commit 4936bab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/jsfmt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function handleJavascript(fullPath, original) {
9898
var cwd = process.cwd();
9999
var relativePath = path.relative(cwd, fullPath);
100100
jsfmt.search(js, argv.search).forEach(function(match) {
101-
var node = match.node.parent ? match.node.parent : match.node;
101+
var node = match.node;
102102
var startLine = node.loc.start.line;
103103
var endLine = node.loc.end.line;
104104

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsfmt",
33
"description": "gofmt for javascript",
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"homepage": "https://github.com/rdio/jsfmt",
66
"main": "index.js",
77
"engines": {

0 commit comments

Comments
 (0)