From ea711d28dc7ad04a91e10fbe20d9d51726558748 Mon Sep 17 00:00:00 2001 From: chan Date: Mon, 6 Oct 2025 07:54:43 +0800 Subject: [PATCH] Fix: No version found for org.clojars.abhinav/snitch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Problem:** Users are encountering an "Execution error (ExceptionInfo)" with the message "Failed to load dependency org.clojars.abhinav/snitch: Execution error (ExceptionInfo) at clojure.repl.deps/add-lib (deps.clj:81). No version found for lib org.clojars.abhinav/snitch“. **Solution:** This commit explicitly adds a valid, stable version number (`"0.1.16"`) to the `org.clojars.abhinav/snitch` dependency definition. By specifying the version, the dependency can be correctly resolved, downloaded, and loaded, resolving the reported execution error and allowing users to successfully utilize this library. --- src/calva_power_tools/tool/snitch.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calva_power_tools/tool/snitch.cljs b/src/calva_power_tools/tool/snitch.cljs index e3d4864..1889745 100644 --- a/src/calva_power_tools/tool/snitch.cljs +++ b/src/calva_power_tools/tool/snitch.cljs @@ -46,7 +46,7 @@ (vscode/window.showInformationMessage "The snitched call to this function is saved to the clipboard.")))))) (defn- load-dependency [] - (-> (util/load-dependency {:deps/mvn-name "org.clojars.abhinav/snitch"}) + (-> (util/load-dependency {:deps/mvn-name "org.clojars.abhinav/snitch" :deps/mvn-version "0.1.16"}) (.then (fn [_] (calva/execute-calva-command! "calva.runCustomREPLCommand"