mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Build/grunt: grunt.file.copy now expects options as third argument. Fixes the version replacing
This commit is contained in:
parent
37dcc3e21d
commit
b3374b9063
4
grunt.js
4
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." );
|
||||
|
Loading…
Reference in New Issue
Block a user