From b3374b9063a250214e4939788a99160a5d7c1de2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Mon, 2 Apr 2012 15:49:34 +0200 Subject: [PATCH] Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version replacing --- grunt.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." ); -- 2.39.5