We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267a8da commit 1e016b2Copy full SHA for 1e016b2
src/eca/features/context.clj
@@ -35,7 +35,7 @@
35
(cond
36
;; Absolute path
37
(string/starts-with? mention "/")
38
- mention
+ (str (fs/canonicalize (fs/file mention)))
39
40
;; Relative path (./... or ../...)
41
(or (string/starts-with? mention "./")
test/eca/features/context_test.clj
@@ -230,7 +230,7 @@
230
b-content (multi-str
231
"- do bar")]
232
(with-redefs [llm-api/refine-file-context (fn [p _l]
233
- (condp = (h/file-path p)
+ (condp = p
234
a-file a-content
235
b-file b-content))]
236
(is (match?
0 commit comments