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/util.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/util.d')
-rw-r--r-- | source/util.d | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/util.d b/source/util.d index 1d0abf1..3624d88 100644 --- a/source/util.d +++ b/source/util.d @@ -82,7 +82,6 @@ string safe_spec(string s) { return "'" ~ s ~ "'"; } - string safe_install(string[] specs) { string[] result; foreach (record; specs) { @@ -91,7 +90,6 @@ string safe_install(string[] specs) { return result.join(" "); } - string safe_install(string specs) { string[] result; foreach (record; specs.split(" ")) { @@ -226,7 +224,7 @@ string interpolate(string[string]aa, string str, char delim = '$') { if (pair.key != match) continue; s = s.replace(delim ~ pair.key, pair.value) - .replace(format("%c{%s}", delim, pair.key), pair.value); + .replace(format("%c{%s}", delim, pair.key), pair.value); } } |