Commit 7d4c9c75 authored by Julia Beliaeva's avatar Julia Beliaeva
Browse files

[vcs-log] use getValue to get rid of the assertion

parent 6fda70d0
Showing with 1 addition and 1 deletion
+1 -1
......@@ -307,7 +307,7 @@ class VcsLogFiltererImpl(private val logProviders: Map<VirtualFile, VcsLogProvid
filterCollection.with(VcsLogFilterObject.fromPaths(filesForRoot))
}
val matchingCommits = providers[root]!!.getCommitsMatchingFilter(root, rootSpecificCollection, maxCount)
val matchingCommits = providers.getValue(root).getCommitsMatchingFilter(root, rootSpecificCollection, maxCount)
commits.addAll(matchingCommits.map { commit -> CommitId(commit.id, root) })
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment