From e0352e041d24cb25367cdd78e6b1977f41a44f38 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sat, 25 Jan 2020 04:31:29 +0100 Subject: [PATCH] fix silent esception when storing the editor metadata file --- src/u_dubproject.pas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/u_dubproject.pas b/src/u_dubproject.pas index 76182fdf..14bd3ca6 100644 --- a/src/u_dubproject.pas +++ b/src/u_dubproject.pas @@ -1007,7 +1007,10 @@ begin t := n[1..p-1]; c := n[p + 3 .. n.length]; - f := fBasePath + DirectorySeparator + '.dub' + DirectorySeparator + '.editor_meta_data.ini'; + f := fBasePath + DirectorySeparator + '.dub'; + if not f.dirExists then + exit; + f := f + DirectorySeparator + '.editor_meta_data.ini'; with TStringList.Create do try values['last_dexed_buildType'] := t;