siyelo / fuselage

A full-featured rails 2.3+ template, giving you a flying start to your next project. Includes: authlogic, paperclip, make_resourceful, cucumber, thinking-sphinx + many more.
www.siyelo.com/community/
MIT License
6 stars 4 forks source link

don't remove view files when erb_to_haml fails #7

Open fortuity opened 14 years ago

fortuity commented 14 years ago

I've had some problems with erb files (mine that I've added, not yours) not converting to haml when erb_to_haml runs. Despite the failure, the files are removed (line 97 of helper.rb). I wonder if the removal of the files could be conditioned on the html2haml running successfully.