lib/lolcommits/plugins/loltext.rb in snapgit-0.6.4 vs lib/lolcommits/plugins/loltext.rb in snapgit-0.6.5

- old
+ new

@@ -8,9 +8,13 @@ 'loltext' end # enabled by default (if no configuration exists) def enabled? + # Added by Felix + # we have to access the configuration for the snapgit plugin here + config = runner.config.read_configuration if runner + return false unless config["snapgit"]["show_commit_messages"] !configured? || super end def run_postcapture debug 'Annotating image via MiniMagick'