We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a2df76 commit 068e522Copy full SHA for 068e522
Rakefile
@@ -254,7 +254,7 @@ end # end namespace :theme
254
# Returns theme manifest hash
255
def theme_from_git_url(url)
256
tmp_path = JB::Path.build(:theme_packages, :node => "_tmp")
257
- system("git clone #{url} #{tmp_path}")
+ abort("rake aborted: could not find git in environment") if !system("git clone #{url} #{tmp_path}")
258
manifest = verify_manifest(tmp_path)
259
new_path = JB::Path.build(:theme_packages, :node => manifest["name"])
260
if File.exist?(new_path) && ask("=> #{new_path} theme package already exists. Override?", ['y', 'n']) == 'n'
0 commit comments