yeoman/generator — pull request #647 by thaiat (2014-09-12 23:33:51+00:00)
Title: helpers.decorate returns original fn result when stub is false

When decorating a method, you want to return the original, method result.
The replacement is executed before, but the outcome should not change.