repowise 0.1.83 → 0.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/repowise.js +2 -1
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -1420,9 +1420,10 @@ async function startListener() {
|
|
|
1420
1420
|
const groups = Array.from(groupMap.values());
|
|
1421
1421
|
const allRepoIds = config2.repos.map((r) => r.repoId);
|
|
1422
1422
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
1423
|
+
const oneDayAgo = new Date(Date.now() - 24 * 60 * 60 * 1e3).toISOString();
|
|
1423
1424
|
for (const repoId of allRepoIds) {
|
|
1424
1425
|
if (!state.repos[repoId]) {
|
|
1425
|
-
state.repos[repoId] = { lastSyncTimestamp:
|
|
1426
|
+
state.repos[repoId] = { lastSyncTimestamp: oneDayAgo, lastSyncCommitSha: null };
|
|
1426
1427
|
}
|
|
1427
1428
|
}
|
|
1428
1429
|
await saveState(state);
|