pjf / exobrain

Automate your life with Exobrain
218 stars 25 forks source link

Fix for bug in Exobrain::Config->write_config #65

Open openstrike opened 8 years ago

openstrike commented 8 years ago

Here is a PR to fix a simple bug in Exobrain::Config->write_config. Thanks to a missing $ symbol the method would attempt to write to a non-existent path if $ENV{EXOBRAIN_CONFIG} had been set. This now seems to work as intended. Some tests have also been added to t/config.t to test this and improve the coverage.

This PR has been created as part of the CPAN PR Challenge - thanks for participating.