From 150fe324051e17311a1352fe63b4ceb3c5cf25a9 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 2 Mar 2017 06:34:21 +0100 Subject: [PATCH] dub projs, add default config when config arr is empty --- src/ce_dubproject.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_dubproject.pas b/src/ce_dubproject.pas index 217700ed..1f501838 100644 --- a/src/ce_dubproject.pas +++ b/src/ce_dubproject.pas @@ -735,7 +735,7 @@ begin exit; // the CE interface for dub doesn't make the difference between build type //and config, instead each possible combination type + build is generated. - if fJSON.findArray('configurations', arr) then + if fJSON.findArray('configurations', arr) and (arr.Count > 0) then begin for i:= 0 to arr.Count-1 do begin