return this.config_cache.get(key);
}
try {
- return this.git({ "config" , "gitlive." + key });
+ var ret = this.git({ "config" , "gitlive." + key });
+ this.config_cache.set(key, ret);
+ return ret;
} catch (Error e) {
+ this.config_cache.set(key, "");
+ return ret;
return ""; // happens when there is nothing set...
}