From 7f32da538bcae6e7542f47d1afabdb689d4f6b02 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Fri, 22 Oct 2021 08:23:54 -0700 Subject: [PATCH] fix line endings --- bin/makesorted.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/makesorted.js b/bin/makesorted.js index e6c2a5ec2..34d3f7066 100644 --- a/bin/makesorted.js +++ b/bin/makesorted.js @@ -29,11 +29,11 @@ while (!b.atendofstream) if (d.length > 0) { - q.writeline(d) + q.write(d + "\n") f = d.indexOf(",") + 1 c.push(d.substr(f, e - f)) } } -q.writeline(d) +q.write(d + "\n") a.createtextfile("build\\GAMES.SORTED").write(c.sort().toString().replace(/,/g, "\n"))