Skip to content

Commit

Permalink
feat(): make configFile optional
Browse files Browse the repository at this point in the history
  • Loading branch information
m7r committed Jul 13, 2013
1 parent eb956ca commit cee07ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/grunt-karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ module.exports = function(grunt) {
var data = this.data;
//merge options onto data, with data taking precedence
data = _.merge(options, data);
data.configFile = path.resolve(data.configFile);

if (data.configFile) {
data.configFile = path.resolve(data.configFile);
data.configFile = grunt.template.process(data.configFile);
}
//support `karma run`, useful for grunt watch
Expand Down

0 comments on commit cee07ab

Please sign in to comment.