Browse Source

Fixed unix newlines with the dependency collector

pull/1/head
Anairkoen Schno 5 years ago
parent
commit
f69fff7116
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CollectDependencies/Program.cs

+ 1
- 1
CollectDependencies/Program.cs View File

@ -33,7 +33,7 @@ namespace CollectDependencies
} }
var lineNo = 0; var lineNo = 0;
foreach (var line in depsFile.Split(new[] { Environment.NewLine }, StringSplitOptions.None))
foreach (var line in depsFile.Split(new[] { Environment.NewLine, "\n" }, StringSplitOptions.None))
{ {
var parts = line.Split('"'); var parts = line.Split('"');
var path = parts.Last(); var path = parts.Last();


Loading…
Cancel
Save