Skip to content

Commit

Permalink
reload loop?
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Aug 27, 2024
1 parent 98b74c6 commit 7e003b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shared/api/utils/shared_doc_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,12 @@ export default class SharedDocUtil extends SharedUtil
}

opDocs = this._opsUtil.addVersionInfoToOps(opDocs, true);
jsonfile.writeFileSync(this.opdocsFilename, {
const newCache = {
"generated": Date.now(),
"opDocs": opDocs
});
// this.cachedOpDocs = opDocs;
};
jsonfile.writeFileSync(this.opdocsFilename, newCache);
this.cachedOpDocs = newCache;
let filteredOpDocs = [];
if (filterDeprecated || filterOldVersions)
{
Expand Down

0 comments on commit 7e003b1

Please sign in to comment.