Skip to content

Commit

Permalink
fix whitespace in deps definition
Browse files Browse the repository at this point in the history
  • Loading branch information
annaborn committed Aug 26, 2023
1 parent e04a1b7 commit e9b4c84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/apaka/packaging/autoproj2adaptor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def dependencies(pkg, with_rock_release_prefix = true)
version = $1
end

name = name.gsub(/[<>=]=?.*$/,"")
name = name.gsub(/[ <>=]=?.*$/,"")

extra_gems << [name, version]
non_native_dependencies << [name, version]
Expand Down
1 change: 0 additions & 1 deletion lib/apaka/packaging/gem_dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ 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 e9b4c84

Please sign in to comment.