From 4bc6a39c56f7005ad403a86f5f925430eaaa21d1 Mon Sep 17 00:00:00 2001 From: Colden Cullen Date: Sun, 1 Nov 2020 18:05:52 -0800 Subject: [PATCH] Fix temp file detection --- source/doveralls/sourcefiles.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/doveralls/sourcefiles.d b/source/doveralls/sourcefiles.d index 230d358..811767a 100644 --- a/source/doveralls/sourcefiles.d +++ b/source/doveralls/sourcefiles.d @@ -15,7 +15,7 @@ JSONValue[] getSourceFiles(string path) { if (lstPath.baseName.startsWith("..")) continue; - else if (lstPath.isAbsolute) + else if (lstPath.startsWith("/var") || lstPath.startsWith("/tmp")) continue; string relPath;