aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-02 15:49:34 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-02 15:49:34 +0200
commitb3374b9063a250214e4939788a99160a5d7c1de2 (patch)
tree78dec446f257fac88d0e3b3f9fc5edc4c162d12b
parent37dcc3e21df5f1373ff9963217073a9faecfc057 (diff)
downloadjquery-ui-b3374b9063a250214e4939788a99160a5d7c1de2.tar.gz
jquery-ui-b3374b9063a250214e4939788a99160a5d7c1de2.zip
Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version replacing
-rw-r--r--grunt.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index e18baeece..0f72e4842 100644
--- a/grunt.js
+++ b/grunt.js
@@ -339,7 +339,9 @@ grunt.registerMultiTask( "copy", "Copy files to destination folder and replace @
if ( /png$/.test( fileName ) ) {
grunt.file.copy( fileName, target + targetFile );
} else {
- grunt.file.copy( fileName, target + targetFile, replaceVersion );
+ grunt.file.copy( fileName, target + targetFile, {
+ process: replaceVersion
+ });
}
});
grunt.log.writeln( "Copied " + files.length + " files." );