From: Jörn Zaefferer Date: Mon, 2 Apr 2012 13:49:34 +0000 (+0200) Subject: Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version... X-Git-Tag: 1.9.0m8~169 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b3374b9063a250214e4939788a99160a5d7c1de2;p=jquery-ui.git Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version replacing --- 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." );