Skip to content

Commit

Permalink
Recognize \r\n line breaks.
Browse files Browse the repository at this point in the history
Leaving a trailing \r (on systems where that happens) makes it unable to find the folder.
  • Loading branch information
player-03 authored and joshtynjala committed Sep 11, 2023
1 parent 1381a77 commit 93a3e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hxp/Haxelib.hx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Haxelib

Log.verbose = cache;

var lines = output.split("\n");
var lines = ~/\r?\n/g.split(output);
var result = "";

for (i in 1...lines.length)
Expand Down

0 comments on commit 93a3e30

Please sign in to comment.