From bbcf25066a6229d8b0f4c79a24613ff3a328082a Mon Sep 17 00:00:00 2001 From: Colden Cullen Date: Sun, 1 Nov 2020 17:36:30 -0800 Subject: [PATCH] Ignore absolute file paths This is usually temporary generated test files. --- source/doveralls/sourcefiles.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/doveralls/sourcefiles.d b/source/doveralls/sourcefiles.d index 8920f62..34f9a4d 100644 --- a/source/doveralls/sourcefiles.d +++ b/source/doveralls/sourcefiles.d @@ -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))