From 07a4eb1212c10a51e385ff44d14893ce2e467b11 Mon Sep 17 00:00:00 2001 From: Ramesh Kumar Date: Tue, 19 Jan 2016 14:01:46 +0530 Subject: [PATCH] Sending filepath in second parameter So that one can change write the logic of processing contents that depends on filename/filepath --- tasks/jst.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/jst.js b/tasks/jst.js index 2306d82..ae72790 100644 --- a/tasks/jst.js +++ b/tasks/jst.js @@ -43,7 +43,7 @@ module.exports = function(grunt) { } }) .map(function(filepath) { - var src = options.processContent(grunt.file.read(filepath)); + var src = options.processContent(grunt.file.read(filepath),filepath); var compiled, filename; try {