lib/tool.js
function hook(filter, fn, args) {
				var tasty = this;
				tasty.hooks.set(
					filter,
					function(result) {
						return tasty.utils.thenable(
							fn.apply(tasty, args)
						).then(function() {
							return result;
						});
					}
				);
			}
function hook(filter, fn, args) {
				var tasty = this;
				tasty.hooks.set(
					filter,
					function(result) {
						return tasty.utils.thenable(
							fn.apply(tasty, args)
						).then(function() {
							return result;
						});
					}
				);
			}
function hook ( filter , fn , args ) { var tasty = this ; tasty . hooks . set ( filter , function ( result ) { return tasty . utils . thenable ( fn . apply ( tasty , args ) ) . then ( function ( ) { return result ; } ) ; } ) ; }
istanbul ignore next
istanbul ignore next