grunt-responsive-images
grunt-responsive-images copied to clipboard
Corrects 'sample' function overriding 'crop' function
When the code finds that user did not call for 'sample' function, the code correctly assumes the task must do a 'resize'.
Unfortunately, the default behavior ('resize') should have been specified higher up in the code, rather than as an if-else in the check for user-call to 'sample' function.