Skip to content

Commit

Permalink
fix: deltacache is building the full tree when a path that does not e…
Browse files Browse the repository at this point in the history
…xist is requested (#537)
  • Loading branch information
sbender9 authored and tkurki committed May 4, 2018
1 parent d37c7d7 commit ed10efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deltacache.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ DeltaCache.prototype.buildFull = function (user, path) {
JSON.parse(JSON.stringify(this.defaults))
)

const leaf = getLeafObject(this.cache, path, false, true)
const leaf = getLeafObject(this.cache, path, false, false)
if (leaf) {
const deltas = findDeltas(leaf).map(toDelta)
const secFilter = this.app.securityStrategy.shouldFilterDeltas()
Expand Down

0 comments on commit ed10efd

Please sign in to comment.