fix #242 - Possible error when DUB autoFetch option activated and dep version is ~master

This commit is contained in:
Basile Burg 2018-02-11 23:23:41 +01:00
parent 04898b564b
commit b63b3044a1
1 changed files with 1 additions and 1 deletions

View File

@ -1339,7 +1339,7 @@ procedure TCEDubProject.updateImportPathsFromJson;
o := '>=';
p := '0.0.0';
end
else if p = 'master' then
else if (p = 'master') or (v = '~master') then
q.init('v0.0.0-master')
else
q.init('v' + p);