[fix] pass error through to grunt

Grunt expects false for an error.

The current implementation returns a false positive if errors are present as it will return true.