Skip to content

Commit

Permalink
fix: correctly update .lastUpdate timestamp during push/pull
Browse files Browse the repository at this point in the history
  • Loading branch information
denolehov committed Dec 8, 2020
1 parent e00014c commit 4b61297
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class ObsidianGit extends Plugin {
}
});

this.lastUpdate = Date.now();
this.setState(PluginState.idle);
}

Expand All @@ -135,6 +136,7 @@ export default class ObsidianGit extends Plugin {
}
});

this.lastUpdate = Date.now();
this.setState(PluginState.idle);
}

Expand Down

0 comments on commit 4b61297

Please sign in to comment.