From a6e8c045a361197798c448525733be5252080226 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..230d358 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.isAbsolute) + continue; string relPath; foreach (line; File(lstPath).byLine(KeepTerminator.no))