diff --git a/Day7/Part1.js b/Day7/Part1.js index e9c6051..f4717f8 100644 --- a/Day7/Part1.js +++ b/Day7/Part1.js @@ -13,7 +13,7 @@ const cardPattern = [ const cards = ["A", "K", "Q", "J", "T", "9", "8", "7", "6", "5", "4", "3", "2"]; const input = readFileSync("input.txt") .toString() - .split("\r\n") + .split("\n") .filter((e) => e.length > 0); const plays = input .map((p) => {