aboutsummaryrefslogtreecommitdiff
path: root/source/conda.d
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-06-03 08:41:42 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-06-03 08:41:52 -0400
commit8f8960e1ca30a44b00688691cc9688b0d2a14cd9 (patch)
tree68666a2f67cc0d5845bdda1fa2977dce061f28bc /source/conda.d
parent13822c77b8c06bba522a40fdccd9e0c8e6f7d547 (diff)
downloaddm-8f8960e1ca30a44b00688691cc9688b0d2a14cd9.tar.gz
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
Diffstat (limited to 'source/conda.d')
-rw-r--r--source/conda.d2
1 files changed, 2 insertions, 0 deletions
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 ~ " ");
}