Skip to content

Commit

Permalink
Ignore absolute file paths
Browse files Browse the repository at this point in the history
This is usually temporary generated test files.
  • Loading branch information
ColdenCullen committed Nov 2, 2020
1 parent 76e8706 commit a6e8c04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/doveralls/sourcefiles.d
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ JSONValue[] getSourceFiles(string path)
{
if (lstPath.baseName.startsWith(".."))
continue;
else if (lstPath.isAbsolute)
continue;

string relPath;
foreach (line; File(lstPath).byLine(KeepTerminator.no))
Expand Down

0 comments on commit a6e8c04

Please # to comment.