Allow build to continue with --force on bad line endings.

This commit is contained in:
Dave Methvin 2013-01-06 10:03:59 -05:00
parent b760d798d3
commit d2a51f0e44

View File

@ -416,7 +416,6 @@ module.exports = function( grunt ) {
if ( /\x0d\x0a/.test( text ) ) { if ( /\x0d\x0a/.test( text ) ) {
grunt.log.writeln( filename + ": Incorrect line endings (\\r\\n)" ); grunt.log.writeln( filename + ": Incorrect line endings (\\r\\n)" );
nonascii = true; nonascii = true;
return;
} }
// Ensure only ASCII chars so script tags don't need a charset attribute // Ensure only ASCII chars so script tags don't need a charset attribute