gkz / grasp

JavaScript structural search, replace, and refactor
http://graspjs.com
MIT License
1.28k stars 33 forks source link

Absolute path are not supported on the command line #6

Closed erickedji closed 10 years ago

erickedji commented 10 years ago

Grasp can't open files specified with absolute paths.

A possible fix is to use path.resolve instead of path.join in https://github.com/gkz/grasp/blob/master/src/index.ls#L273 (this however makes all paths absolute in the output).