Fix infinite tag recursion

This commit is contained in:
Les De Ridder 2016-10-16 04:54:44 +02:00
parent 347107fc0e
commit a5c2225b1a
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
1 changed files with 1 additions and 1 deletions

View File

@ -88,9 +88,9 @@ class FileSystem : Operations
return _tagCache.byKeyValue()
.filter!(a => tags.all!(b => a.value.canFind(b)))
.filter!(a => !tags.canFind(a.value))
.map!(a => a.value)
.joiner
.filter!(a => !tags.canFind(a))
.array
.sort()
.uniq