mafiuss / atom-cli-diff

TextMate's diff bundle port
MIT License
2 stars 2 forks source link

Diff selected files returns an empty file #3

Closed marcos-mestre closed 9 years ago

marcos-mestre commented 10 years ago

When trying to do a diff between two selected files, the Atom returns an empty file. In the log console it returns:

there was an error Error: Command failed: diff: $/home/marcos/Documents/QA-Testing/Scripts/Merchants_Red/ap_invisible.sql: No such file or directory

diff: $/home/marcos/Documents/QA-Testing/Scripts/Merchants_Red/ap_on_challenge_accept.sql: No such file or directory

diff-view.coffee:31

Atom version 0.106.0-781a51a Atom Cli Diff version 0.6.4 SO Ubuntu 14.04. Thank you

mafiuss commented 10 years ago

I see, looks like a malformed path there starting with $/. I'll try to reproduce this in an Ubuntu machine and let you know.

marcos-mestre commented 10 years ago

Thank you. I'll wait for it :-)

carlopellegriniarchijcom commented 9 years ago

It's the shellescape function used in the dependency. I believe it is solved in shell-escape 0.2.0