Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 2dec01a

Browse files
committed
fix: теперь VsDevHelper чуть более платформонезависим
1 parent f49e79f commit 2dec01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/VsDevHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private Dictionary<string, string> GetVsSetVariables()
8888
if (text == null)
8989
return null;
9090

91-
var lines = text.Split('\n');
91+
var lines = text.Split(new[] {"\r\n", "\r", "\n"}, StringSplitOptions.None);
9292
var result = new Dictionary<string, string>();
9393
foreach (var line in lines)
9494
{

0 commit comments

Comments
 (0)