Skip to content

Commit

Permalink
GitHelper: ignore curl error output
Browse files Browse the repository at this point in the history
Signed-off-by: Derrick Stolee <[email protected]>
  • Loading branch information
derrickstolee committed Feb 5, 2021
1 parent 8503178 commit 969e63b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scalar.FunctionalTests/Tools/GitHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ private static IEnumerable<string> NonEmptyLines(string data)
{
return data
.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries)
.Where(s => !string.IsNullOrWhiteSpace(s));
.Where(s => !string.IsNullOrWhiteSpace(s))
.Where(s => !s.Contains("gvfs-helper error: '(curl"));
}

private static bool LinesAreEqual(string actualLine, string expectedLine)
Expand Down

0 comments on commit 969e63b

Please sign in to comment.