Skip to content

Commit 6b8ecc0

Browse files
committed
Simplify postfix test
1 parent cfb764c commit 6b8ecc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rewrite_clj/zip/insert.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
(let [item-node (node/coerce item)
1616
next-node (move-fn zloc)]
1717
(->> (concat
18-
(if (not (or (not next-node) (ws/whitespace? next-node)))
18+
(if (and next-node (not (ws/whitespace? next-node)))
1919
[space])
2020
[item-node]
2121
(if (not (ws/whitespace? zloc))

0 commit comments

Comments
 (0)