aboutsummaryrefslogtreecommitdiff
path: root/source/conda.d
diff options
context:
space:
mode:
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 ~ " ");
}