]> source.dussan.org Git - jquery-ui.git/commitdiff
Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 2 Apr 2012 13:49:34 +0000 (15:49 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 2 Apr 2012 13:49:34 +0000 (15:49 +0200)
grunt.js

index e18baeece7c002817ea61a6dced6dfd48a320037..0f72e484276d6481df8d69562a7e37180e6cd673 100644 (file)
--- 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." );