Skip to content

Commit

Permalink
Remove unused log
Browse files Browse the repository at this point in the history
  • Loading branch information
ihavecoke committed Jun 19, 2024
1 parent b316d13 commit 2a42c1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/wiki/sync-wikis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function updateLatestWiki(limit = 100) {
console.log("--> after uniq wikis:", wikis.length);
const theLatestWiki = wikis[0];
if (theLatestWiki) {
fetchLastUpdatedValue(theLatestWiki.content_updated_at);
await fetchLastUpdatedValue(theLatestWiki.content_updated_at);
}

wikis.forEach(async (rawWiki) => {
Expand Down
1 change: 0 additions & 1 deletion scripts/wiki/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const forceRefresh = process.env.FORCE_UPDATE === "true";

export async function fetchLastUpdatedValue(content_updated_at = 0) {
const tmpFilePath = path.join(projectRoot, "last_updated_at.txt");
console.log('fetchLastUpdatedValue-11', tmpFilePath)

try {
// content_updated_at empty mean's need read prev last updated_at value
Expand Down

0 comments on commit 2a42c1e

Please sign in to comment.