Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Correctly write out the project.clj!
Browse files Browse the repository at this point in the history
  • Loading branch information
arohner committed Jan 21, 2014
1 parent cd80d0d commit fa5a079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leiningen/version_spec.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
new-version (parse-version-spec (:version-spec project))
project-zip (z/of-file project-path)
updated-proj (new-project project-zip new-version)]
(spit project-path (z/print-root updated-proj))
(main/info "updated")
(spit project-path (with-out-str (z/print-root updated-proj)))
(main/info "set version to" new-version)
(main/exit 0)))

0 comments on commit fa5a079

Please sign in to comment.