djoos-cookbooks / composer

Repository for composer cookbook
http://community.opscode.com/cookbooks/composer
MIT License
27 stars 38 forks source link

Fix for ShellCommandFailed with optimize_autoload #35

Closed predakanga closed 10 years ago

predakanga commented 10 years ago

Using optimize_autoload causes the composer command to always be generated with "false" as the last argument, due to an operator precedence issue.

The bug occurs on Ruby 1.9.3p484 at the least, may not occur on some others, but the fix should be harmless on them.

djoos commented 10 years ago

Thanks for your contribution @predakanga!

Kind regards, David