diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-06-03 08:41:42 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-06-03 08:41:52 -0400 |
commit | 8f8960e1ca30a44b00688691cc9688b0d2a14cd9 (patch) | |
tree | 68666a2f67cc0d5845bdda1fa2977dce061f28bc /source/conda.d | |
parent | 13822c77b8c06bba522a40fdccd9e0c8e6f7d547 (diff) | |
download | dm-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.d | 2 |
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 ~ " "); } |