Skip to content
Permalink
Browse files

Build/grunt: Can use config('pkg.version'), now was fixed in grunt

  • Loading branch information
jzaefferer committed Mar 9, 2012
1 parent 8a982f5 commit 59a26c87c4ea38a6cf864e44dd8c05a4286d9cf3
Showing with 1 addition and 1 deletion.
  1. +1 −1 grunt.js
@@ -254,7 +254,7 @@ config('files', files);

task.registerBasicTask('copy', 'Copy files to destination folder and replace @VERSION with pkg.version', function(data) {
function replaceVersion(source) {
return source.replace("@VERSION", config("pkg").version);
return source.replace("@VERSION", config("pkg.version"));
}
var files = file.expand(data.src);
var target = data.dest + '/';

0 comments on commit 59a26c8

Please sign in to comment.
You can’t perform that action at this time.