X-Git-Url: https://arthur.barton.de/gitweb/?p=atom-ax-pipe.git;a=blobdiff_plain;f=lib%2Fpipe.coffee;fp=lib%2Fpipe.coffee;h=5ccd6b0349fa0c321b1a077583a12a12186f2ca8;hp=a85b6348e9b88ac50258d0c9a5f2c7237175111f;hb=88dc3db51d8e36d5410f7f6c7becd90a037cf637;hpb=ee2a2bd38fb54c766b00db4db0d704d4b4553aca diff --git a/lib/pipe.coffee b/lib/pipe.coffee index a85b634..5ccd6b0 100644 --- a/lib/pipe.coffee +++ b/lib/pipe.coffee @@ -22,7 +22,7 @@ module.exports = if history.length > 300 history.shift() - commandString = "cd '#{atom.project.path}' && #{commandString}" + commandString = "cd '#{atom.project.rootDirectory.path}' && #{commandString}" properties = { reversed: true, invalidate: 'never' } for range in editor.getSelectedBufferRanges()