We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d9b040 commit e69f8feCopy full SHA for e69f8fe
1 file changed
src/practitest_firecracker/query_dsl.cljc
@@ -78,7 +78,7 @@
78
(string/split (second args) complied))
79
(return-error "Syntax error: 'split' must have two arguments" query))
80
'get (if (= 2 (count args))
81
- (take 1 (drop (- (parse-int (first args)) 1) (last args)))
+ (first (take 1 (drop (- (parse-int (first args)) 1) (last args))))
82
(return-error "Syntax error: 'get' must have two arguments" query))
83
'trim (if (= 1 (count args))
84
(if (string? (first args))
0 commit comments