Revert "Type-hint and print metadata of form used by run task"
This reverts commit 28ef899fb1
.
This fixes #2328.
This commit is contained in:
parent
50b827e92c
commit
2e78e82bc2
2 changed files with 2 additions and 3 deletions
|
@ -237,8 +237,7 @@
|
|||
(io/file (:target-path project) (str checksum "-init.clj"))
|
||||
(File/createTempFile "form-init" ".clj"))]
|
||||
(spit init-file
|
||||
(binding [*print-dup* *eval-print-dup*
|
||||
*print-meta* true]
|
||||
(binding [*print-dup* *eval-print-dup*]
|
||||
(pr-str (if-not (System/getenv "LEIN_FAST_TRAMPOLINE")
|
||||
`(.deleteOnExit (File. ~(.getCanonicalPath init-file))))
|
||||
form)))
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
;; If the class exists, run its main method.
|
||||
class#
|
||||
(Reflector/invokeStaticMethod
|
||||
class# "main" ^"[Ljava.lang.Object;" (into-array [(into-array String '~args)]))
|
||||
class# "main" (into-array [(into-array String '~args)]))
|
||||
|
||||
;; If the symbol didn't resolve, give a reasonable message
|
||||
(= :not-found ns-flag#)
|
||||
|
|
Loading…
Reference in a new issue