1
0
Fork 0

Replace dashes by underscores in GitHub usernames

This commit is contained in:
Benjamin Grandfond 2013-06-14 04:43:56 +03:00
parent 5d81900bea
commit e3b245f102
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ end
editor = ENV["VISUAL"] || ENV["EDITOR"]
home = ENV["BOXEN_HOME"] + "/repo"
user = user.downcase
user = user.downcase.tr('-', '_')
path = "#{home}/modules/people/manifests/#{user}.pp"
unless File.exist? path