Skip to content

Commit 4b61297

Browse files
committed
fix: correctly update .lastUpdate timestamp during push/pull
1 parent e00014c commit 4b61297

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export default class ObsidianGit extends Plugin {
110110
}
111111
});
112112

113+
this.lastUpdate = Date.now();
113114
this.setState(PluginState.idle);
114115
}
115116

@@ -135,6 +136,7 @@ export default class ObsidianGit extends Plugin {
135136
}
136137
});
137138

139+
this.lastUpdate = Date.now();
138140
this.setState(PluginState.idle);
139141
}
140142

0 commit comments

Comments
 (0)