Merge pull request #30 from jimrubenstein/master
Add the filepath for the JST that failed to compile
This commit is contained in:
commit
f7bd8b7c52
@ -53,7 +53,7 @@ module.exports = function(grunt) {
|
|||||||
compiled = _.template(src, false, options.templateSettings).source;
|
compiled = _.template(src, false, options.templateSettings).source;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
grunt.log.error(e);
|
grunt.log.error(e);
|
||||||
grunt.fail.warn('JST failed to compile.');
|
grunt.fail.warn('JST "' + filepath + '" failed to compile.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.prettify) {
|
if (options.prettify) {
|
||||||
|
Loading…
Reference in New Issue
Block a user