mirror of https://gitlab.com/basile.b/dexed.git
fix, completion broken if dependency specified using a path DUB property
This commit is contained in:
parent
f06ad0ad8c
commit
75ed028f58
|
@ -1678,9 +1678,9 @@ procedure TDubProject.updateImportPathsFromJson;
|
||||||
s += w;
|
s += w;
|
||||||
// as auto detected by DUB
|
// as auto detected by DUB
|
||||||
if (s + 'source').dirExists then
|
if (s + 'source').dirExists then
|
||||||
fImportPaths.Add(s)
|
fImportPaths.Add(s + 'source')
|
||||||
else if (s + 'src').dirExists then
|
else if (s + 'src').dirExists then
|
||||||
fImportPaths.Add(s)
|
fImportPaths.Add(s + 'src')
|
||||||
// when standard src content is directly in the repo root
|
// when standard src content is directly in the repo root
|
||||||
else if (s + n).dirExists or (w.length <> 0) then
|
else if (s + n).dirExists or (w.length <> 0) then
|
||||||
fImportPaths.Add(s);
|
fImportPaths.Add(s);
|
||||||
|
|
Loading…
Reference in New Issue