Skip to content

Commit 586b0ef

Browse files
authored
Merge pull request #203 from juergenhoetzel/fix-invalid-stale-check
Fix invalid stale-check
2 parents bebdee6 + 172039f commit 586b0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/refactor_nrepl/artifacts.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
(defn- stale-cache? []
3939
(or (empty? @artifacts)
4040
(if-let [last-modified (some-> artifacts meta :last-modified .getTime)]
41-
(neg? (- millis-per-day (- last-modified (.getTime (java.util.Date.)))))
41+
(neg? (- millis-per-day (- (.getTime (java.util.Date.)) last-modified)))
4242
true)))
4343

4444
(defn- get-mvn-artifacts!

0 commit comments

Comments
 (0)