mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Don't be so picky about path separators
This commit is contained in:
5
grunt.js
5
grunt.js
@@ -437,11 +437,6 @@ module.exports = function( grunt ) {
|
||||
|
||||
created = path + filename.replace( "dist/", "" );
|
||||
|
||||
if ( !/^\//.test( path ) ) {
|
||||
log.error( "File '" + created + "' was NOT created." );
|
||||
return;
|
||||
}
|
||||
|
||||
file.write( created, file.read(filename) );
|
||||
|
||||
log.writeln( "File '" + created + "' created." );
|
||||
|
||||
Reference in New Issue
Block a user