mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
enhancement(lint): Fix lint errors for src/modules/hacktime.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebc82d1823
commit
e7e66d88ee
1 changed files with 5 additions and 2 deletions
|
|
@ -106,7 +106,10 @@ export function watchForWhenIUseHacktime(app: ModifiedApp) {
|
|||
console.debug(1);
|
||||
if (currentSession) {
|
||||
// check if still "active"
|
||||
if (currentSession.active_index < 0 && currentSession.active_index > -5) {
|
||||
if (
|
||||
currentSession.active_index < 0 &&
|
||||
currentSession.active_index > -5
|
||||
) {
|
||||
// set to not be active
|
||||
// pretty much this is a warning: if there is no new heartbeat im nuking it.
|
||||
console.log("hmmm");
|
||||
|
|
@ -122,7 +125,7 @@ export function watchForWhenIUseHacktime(app: ModifiedApp) {
|
|||
thread_ts: currentSession.m_ts,
|
||||
// reply_broadcast: true
|
||||
});
|
||||
}
|
||||
}
|
||||
} else {
|
||||
console.log("over");
|
||||
// send time up message
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue