dub.compilers.utils: Fix platform probe code when nothing is detected
If determinePlatform / determineArchitecture return an empty
array (due to Dub not knowing about the target platform), the probe
file crashed during compilation due to attempting to index an array
at position 0.

Fix this by using a less unnecessarily-generic function to concatenate
elements of a JSON array.
1 parent 32c0173 commit f877a8ba8a9d7c8e4e4bf8869dd46f031af647ab
@Vladimir Panteleev Vladimir Panteleev authored on 8 May 2018
Showing 1 changed file
View
source/dub/compilers/utils.d