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 bbcf250
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/doveralls/sourcefiles.d
Expand Up @@ -15,6 +15,8 @@ JSONValue[] getSourceFiles(string path)
{
if (lstPath.baseName.startsWith(".."))
continue;
else if (lstPath.baseName.isAbsolute)
continue;

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

0 comments on commit bbcf250

Please sign in to comment.