Skip to content

Commit 760e448

Browse files
committed
fix: wrong split char
Signed-off-by: leo <[email protected]>
1 parent 695db2a commit 760e448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/QuerySubmodules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public QuerySubmodules(string repo)
2626
var rs = ReadToEnd();
2727

2828
var builder = new StringBuilder();
29-
var lines = rs.StdOut.Split(['r', '\n'], System.StringSplitOptions.RemoveEmptyEntries);
29+
var lines = rs.StdOut.Split(['\r', '\n'], System.StringSplitOptions.RemoveEmptyEntries);
3030
foreach (var line in lines)
3131
{
3232
var match = REG_FORMAT1().Match(line);

0 commit comments

Comments
 (0)