fix: single file lookup via prepareSourceTreeInternal

This commit is contained in:
DavHau 2022-03-02 12:43:46 +07:00
parent 95c6595165
commit 54b9d1a61e

View File

@ -142,7 +142,7 @@ let
dirSplit);
dir =
if dirAttrPath == [ "" ] then
if (l.length dirSplit == 0) || dirAttrPath == [ "" ] then
self
else
l.getAttrFromPath dirAttrPath directories;