heldr/grunt-smushit — pull request #28 by dmcass (2014-03-19 23:22:21+00:00)
Title: Fix substring returning last character of src dir

The getSubPath method was returning the last character of the src dir resulting in new directories being created when using cwd or file patterns.