achiurizo / consular

Terminal automation
http://rdoc.info/github/achiu/consular/master/file/README.md
MIT License
813 stars 46 forks source link

Fix exception when using the deprecated open command #30

Closed flavio closed 13 years ago

flavio commented 13 years ago

Fix nil exception when using open command

An "undefined method `to_sym' for nil:NilClass (NoMethodError)" was raised when invoking "terminitor open ".

This happens because the options hash passed to 'edit' method by 'open' doesn't have :syntax key.

flavio commented 13 years ago

The fix is contained into commit flavio/terminitor@3df0857 I dunno why the other commits have been added to my push request...

achiurizo commented 13 years ago

Hi flavio, i included a fix for this prior in my latest commits. could you rebase with them and see if this issue still persists? thanks!

flavio commented 13 years ago

You are right, everything works fine. I didn't rebase properly...