lib/middleman-cli/init.rb in middleman-cli-4.1.7 vs lib/middleman-cli/init.rb in middleman-cli-4.1.8
- old
+ new
@@ -111,10 +111,10 @@
def shortname?(repo)
repo.split('/').length == 1
end
def repository_path(repo)
- repo.include?('://') || repo.include?('git@') ? repo : "git://github.com/#{repo}.git"
+ repo.include?('://') || repo.include?('git@') ? repo : "https://github.com/#{repo}.git"
end
# Add to CLI
Base.register(self, 'init', 'init TARGET [options]', 'Create new project at TARGET')