File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2173,6 +2173,13 @@ If it's present KEY indicates the key to extract from the response."
2173
2173
(when cljr--debug-mode
2174
2174
(message "Artifact cache updated")))))
2175
2175
2176
+ (defun cljr--init-artifact-cache ()
2177
+ (cljr--call-middleware-async (cljr--create-msg "artifact-list"
2178
+ "force" "false")
2179
+ (lambda (_)
2180
+ (when cljr--debug-mode
2181
+ (message "Artifact cache updated")))))
2182
+
2176
2183
(defun cljr--dictionary-lessp (str1 str2)
2177
2184
"return t if STR1 is < STR2 when doing a dictionary compare
2178
2185
(splitting the string at numbers and doing numeric compare with them).
@@ -3280,7 +3287,7 @@ warning by customizing `cljr-suppress-no-project-warning'.)"))))
3280
3287
(ignore-errors
3281
3288
(when (cljr--middleware-version) ; check if middleware is running
3282
3289
(when cljr-populate-artifact-cache-on-startup
3283
- (cljr--update -artifact-cache))
3290
+ (cljr--init -artifact-cache))
3284
3291
(when (and (not cljr-warn-on-eval)
3285
3292
cljr-eagerly-build-asts-on-startup)
3286
3293
(cljr--warm-ast-cache)))))
You can’t perform that action at this time.
0 commit comments