Skip to content

Commit

Permalink
remove leading and trailing white space from gem name
Browse files Browse the repository at this point in the history
  • Loading branch information
annaborn committed Aug 23, 2023
1 parent d75e68f commit 7e329b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/apaka/packaging/gem_dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def self.resolve_all_deps(gems = [], gemfile: "/tmp/apaka/Gemfile.all")
name = gem
end

name = name.strip
if available_specs.has_key?(name)
# skip already available definition
next
Expand Down

0 comments on commit 7e329b0

Please sign in to comment.