Skip to content

Commit

Permalink
fix: sync remaining bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Feb 9, 2024
1 parent c92d5ca commit fc4ccb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/sync-registries.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const syncOrganizationAudit = async (organization) => {
);
}

const rootHistoryCount = rootHistory.length - 1;
const rootHistoryCount = rootHistory.length;
const syncRemaining = rootHistoryCount - historyIndex;
const isSynced = syncRemaining === 0;

Expand Down

0 comments on commit fc4ccb5

Please sign in to comment.