gitlab-org--gitlab-foss/config/initializers/public_key.rb
2015-02-24 15:07:24 +01:00

2 lines
119 B
Ruby

path = File.expand_path("~/.ssh/id_rsa.pub")
Gitlab::BitbucketImport.public_key = File.read(path) if File.exist?(path)