lib/match/setup.rb in match-0.6.3 vs lib/match/setup.rb in match-0.6.4
- old
+ new
@@ -3,10 +3,10 @@
def run(path)
template = File.read("#{Match::ROOT}/lib/assets/MatchfileTemplate")
UI.important "Please create a new, private git repository"
UI.important "to store the certificates and profiles there"
- url = ask("URL of the Git Repo: ")
+ url = UI.input("URL of the Git Repo: ")
template.gsub!("[[GIT_URL]]", url)
File.write(path, template)
UI.success "Successfully created '#{path}'. You can open the file using a code editor."