repowise 0.1.59 → 0.1.60
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 +4 -0
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -430,6 +430,10 @@ function decodeEmailFromIdToken(idToken) {
|
|
|
430
430
|
async function processNotifications(notifications, state, repoLocalPaths, apiUrl) {
|
|
431
431
|
let updateCount = 0;
|
|
432
432
|
for (const notif of notifications) {
|
|
433
|
+
const repoState = state.repos[notif.repoId];
|
|
434
|
+
if (repoState && notif.createdAt <= repoState.lastSyncTimestamp) {
|
|
435
|
+
continue;
|
|
436
|
+
}
|
|
433
437
|
if (notif.type === "sync.completed") {
|
|
434
438
|
const localPath = repoLocalPaths.get(notif.repoId);
|
|
435
439
|
if (localPath) {
|