From 8f8960e1ca30a44b00688691cc9688b0d2a14cd9 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 3 Jun 2019 08:41:42 -0400 Subject: Minor improvements: * testdir can be changed * testdir is no longer incorporated into the delivery * pip calls will use an index if defined * multiarg now returns empty string if input is empty * remove clone repos if they already exist. guarantees pristine code/tests --- source/conda.d | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/conda.d') diff --git a/source/conda.d b/source/conda.d index 9fee38f..c7e7fe3 100644 --- a/source/conda.d +++ b/source/conda.d @@ -213,6 +213,8 @@ class Conda { } string multiarg(string flag, string[] arr) { + if (arr.empty) + return ""; return flag ~ " " ~ arr.join(" " ~ flag ~ " "); } -- cgit