Skip to content

Commit

Permalink
allow ssh transport protocol for a git module spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarrolle committed May 1, 2024
1 parent 84520a0 commit 623eebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bolt/module_installer/specs/git_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def sha
return true if url.start_with?('git@')

uri = URI.parse(url)
uri.is_a?(URI::HTTP) && uri.host
(uri.is_a?(URI::HTTP) || uri.scheme == "ssh") && uri.host
rescue URI::InvalidURIError
false
end
Expand Down

0 comments on commit 623eebd

Please sign in to comment.