File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -905,7 +905,8 @@ should contain the source for the given namespace name."
905
905
sources name
906
906
(assoc opts
907
907
:preamble-line-count
908
- (- (count (.split #"\r ?\n " (make-preamble opts) -1 )) 1 )))))
908
+ (+ (- (count (.split #"\r ?\n " (make-preamble opts) -1 )) 1 )
909
+ (if (:output-wrapper opts) 1 0 ))))))
909
910
source)
910
911
(report-failure result))))
911
912
@@ -1072,7 +1073,8 @@ should contain the source for the given namespace name."
1072
1073
{:source-map sm-name
1073
1074
:preamble-line-count
1074
1075
(if (= name :cljs-base )
1075
- (- (count (.split #"\r ?\n " (make-preamble opts) -1 )) 1 )
1076
+ (+ (- (count (.split #"\r ?\n " (make-preamble opts) -1 )) 1 )
1077
+ (if (:output-wrapper opts) 1 0 ))
1076
1078
0 )
1077
1079
:foreign-deps-line-count
1078
1080
(if fdeps-str
You can’t perform that action at this time.
0 commit comments