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 cfb764c commit 6b8ecc0Copy full SHA for 6b8ecc0
src/rewrite_clj/zip/insert.clj
@@ -15,7 +15,7 @@
15
(let [item-node (node/coerce item)
16
next-node (move-fn zloc)]
17
(->> (concat
18
- (if (not (or (not next-node) (ws/whitespace? next-node)))
+ (if (and next-node (not (ws/whitespace? next-node)))
19
[space])
20
[item-node]
21
(if (not (ws/whitespace? zloc))
0 commit comments