]> source.dussan.org Git - jquery.git/commitdiff
Build: Remove CRLF line endings to fix builds on Windows
authorDave Methvin <dave.methvin@gmail.com>
Tue, 9 Jan 2018 15:50:09 +0000 (07:50 -0800)
committerTimmy Willison <4timmywil@gmail.com>
Tue, 9 Jan 2018 15:50:09 +0000 (10:50 -0500)
Close gh-3929

build/tasks/qunit_fixture.js

index ebf0b220c3d1bf9e768f1d085c45f82d0a7181f8..eb9b5636b80f0fb6fb0da6fe55968ba8a2e5fbcc 100644 (file)
@@ -11,7 +11,7 @@ module.exports = function( grunt ) {
                                fs.readFileSync(
                                        "./test/data/qunit-fixture.html",
                                        "utf8"
-                               ).toString()
+                               ).toString().replace( /\r\n/g, "\n" )
                        ) +
                        ";\n" +
                        "// Compat with QUnit 1.x:\n" +