Skip to content

Commit c99f65f

Browse files
author
dnolen
committed
remove redundant test
1 parent ef5eafb commit c99f65f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/clojure/cljs/compiler.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,8 +1014,8 @@
10141014

10151015
(defmethod emit* :js
10161016
[{:keys [op env code segs args]}]
1017-
(if (and code (= op :js) #?(:clj (.startsWith ^String code "/*")
1018-
:cljs (gstring/startsWith code "/*")))
1017+
(if (and code #?(:clj (.startsWith ^String code "/*")
1018+
:cljs (gstring/startsWith code "/*")))
10191019
(emits code)
10201020
(emit-wrap env
10211021
(if code

0 commit comments

Comments
 (0)