- removing dead code

This commit is contained in:
Eugene Zolenko 2017-04-20 13:37:09 -06:00
parent 966013bd5d
commit 88c8ad05c0

View File

@ -77,10 +77,7 @@ export class RollingCache <DataType> implements ICache<DataType>
if (data === undefined)
return;
if (this.rolled)
fs.writeJsonSync(`${this.oldCacheRoot}/${name}`, data);
else
fs.writeJsonSync(`${this.newCacheRoot}/${name}`, data);
fs.writeJsonSync(`${this.newCacheRoot}/${name}`, data);
}
public touch(name: string)