Skip to content

Commit

Permalink
changing git protocal with https (#45)
Browse files Browse the repository at this point in the history
* changing protocol from git to https
* updating comments from git to https protocol

Signed-off-by: Pranay Singh <[email protected]>
  • Loading branch information
i5pranay93 authored Jun 9, 2022
1 parent f630018 commit 7d83309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cookbook-omnifetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module CookbookOmnifetch
# is returned.
#
# @example Create a git location
# Location.init(dependency, git: 'git://github.com/berkshelf/berkshelf.git')
# Location.init(dependency, git: 'https://github.com/berkshelf/berkshelf.git')
#
# @example Create a GitHub location
# Location.init(dependency, github: 'berkshelf/berkshelf')
Expand Down
2 changes: 1 addition & 1 deletion lib/cookbook-omnifetch/github.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module CookbookOmnifetch
class GithubLocation < GitLocation
def initialize(dependency, options = {})
options[:git] = "git://github.com/#{options.delete(:github)}.git"
options[:git] = "https://github.com/#{options.delete(:github)}.git"
super
end
end
Expand Down

0 comments on commit 7d83309

Please sign in to comment.