]> source.dussan.org Git - jquery.git/commitdiff
Don't be so picky about path separators
authorRick Waldron <waldron.rick@gmail.com>
Wed, 17 Oct 2012 16:50:10 +0000 (12:50 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Wed, 17 Oct 2012 16:50:23 +0000 (12:50 -0400)
grunt.js

index 8bc9f09dc1da479244d843c893b5dc2fdcb8c1d0..c9e9702ecad033fcc0d59558b5ba29fb67f63669 100644 (file)
--- a/grunt.js
+++ b/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." );