We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d652210 + 0c65b53 commit 0c4be70Copy full SHA for 0c4be70
1 file changed
src/net/lewisship/cli_tools.clj
@@ -241,7 +241,7 @@
241
(continuation))
242
(continuation)))
243
244
-(def ^:private default-dispatch-options
+(defn- default-dispatch-options []
245
{:cache-dir (or (some-> (System/getenv "CLI_TOOLS_CACHE_DIR")
246
fs/expand-home)
247
(fs/xdg-cache-home "net.lewisship.cli-tools"))})
@@ -297,7 +297,7 @@
297
Returns nil."
298
[dispatch-options]
299
(let [merged-options (merge {:arguments *command-line-args*}
300
- default-dispatch-options
+ (default-dispatch-options)
301
dispatch-options)
302
{:keys [extra-tool-options tool-options-handler]} merged-options
303
full-options (concat extra-tool-options impl/default-tool-options)
0 commit comments