Method: Match::Storage::GitStorage#convert_private_key_path_to_absolute
- Defined in:
- match/lib/match/storage/git_storage.rb
#convert_private_key_path_to_absolute(git_private_key) ⇒ Object
68 69 70 71 72 73 74 |
# File 'match/lib/match/storage/git_storage.rb', line 68 def convert_private_key_path_to_absolute(git_private_key) if !git_private_key.nil? && File.file?(File.(git_private_key)) File.(git_private_key).shellescape.to_s else git_private_key end end |