aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-10-17 12:50:10 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-10-17 12:50:23 -0400
commit3bfd15878442ed97a7c768a09ccd51571d4e1d47 (patch)
tree9de2bc10950564920d5fe8ed6ae6e8516b165856 /grunt.js
parent7607068faa13fea33d2cce6caf1420800ed00d52 (diff)
downloadjquery-3bfd15878442ed97a7c768a09ccd51571d4e1d47.tar.gz
jquery-3bfd15878442ed97a7c768a09ccd51571d4e1d47.zip
Don't be so picky about path separators
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/grunt.js b/grunt.js
index 8bc9f09dc..c9e9702ec 100644
--- 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." );