Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 21, 2022
1 parent 936a534 commit 7ffa3e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/frontend/fs/sync.cljs
Expand Up @@ -2753,7 +2753,7 @@

(idle [this]
(go
(let [{:keys [stop remote->local local->remote local->remote-full-sync remote->local-full-sync pause] :as result}
(let [{:keys [stop remote->local local->remote local->remote-full-sync remote->local-full-sync pause]}
(<! ops-chan)]
(cond
stop
Expand All @@ -2768,8 +2768,10 @@
(<! (.schedule this ::remote->local-full-sync nil nil))
pause
(<! (.schedule this ::pause nil nil))
(= state ::idle)
nil
:else
nil))))
(<! (.schedule this ::stop nil nil))))))

(full-sync [this]
(go
Expand Down

0 comments on commit 7ffa3e9

Please sign in to comment.