mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Allow build to continue with --force on bad line endings.
This commit is contained in:
parent
b760d798d3
commit
d2a51f0e44
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user