Permalink
Browse files

Merge pull request #27 from Open-Xchange-Frontend/grunt_config_overwr…

…itten

fix less task overwriting grunt.config.data object
  • Loading branch information...
2 parents d4ef403 + 98dccd3 commit 529d24823b60cb77584a45a765c0291786163a75 @jonschlinkert jonschlinkert committed Mar 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/less.js
View
@@ -224,7 +224,7 @@ module.exports = function(grunt) {
// Read in metadata to pass to templates as context.
var metadata = utils.readOptionsData(options.metadata, {namespace: true});
- metadata = _.merge(grunt.config.data, metadata, grunt.task.current.data.options);
+ metadata = _.merge({}, grunt.config.data, metadata, grunt.task.current.data.options);
metadata = grunt.config.process(metadata);
if (options.process === true) {options.process = {};}

0 comments on commit 529d248

Please sign in to comment.