Commit e3a56c8b authored by Ivanq's avatar Ivanq

Unexisting fncache

parent c6317810
......@@ -867,6 +867,7 @@ class HgIndex {
if(this.virtual) {
// Add to fncache
return this.hg.readFile("store/fncache")
.catch(() => [])
.then(cache => {
cache = this.hg.arrayToString(cache).split("\n");
cache = cache.filter(line => line);
......
Markdown is supported
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