Skip to content

Commit

Permalink
Merge pull request #30 from eelkevanfoeken/patch-1
Browse files Browse the repository at this point in the history
fix issue #28
  • Loading branch information
yogthos committed Jan 28, 2022
2 parents b84d7b6 + 5e971e3 commit 0a78d53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libs/kit-generator/src/kit/generator/git.clj
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
(let [repo (git/load-repo path)]
(git/git-pull repo))
(catch FileNotFoundException _e
(git/git-clone url {:path path
:remote-name "origin"
:branch-name (or tag "master")
:bare false
:clone-all-branches false})))
(git/git-clone url :path path
:remote-name "origin"
:branch-name (or tag "master")
:bare false
:clone-all-branches false)))
(when callback (callback path))))
(catch Exception e
(println "failed to clone module:" url "\ncause:" (.getMessage e)))))

0 comments on commit 0a78d53

Please sign in to comment.