lib/jets/builders/code_builder.rb in jets-0.5.8 vs lib/jets/builders/code_builder.rb in jets-0.6.0
- old
+ new
@@ -357,10 +357,9 @@
# IE: ["a8c4661", "abc4661"]
git_shas = submoduled_specs.map do |spec|
md = spec.source.to_s.match(/@(\w+)\)/)
git_sha = md[1]
end
- puts "git_shas #{git_shas.inspect}"
# IE: /tmp/jets/demo/cache/bundled/gems/ruby/2.5.0/bundler/gems/webpacker-a8c46614c675
Dir.glob("#{cache_area}/bundled/gems/ruby/2.5.0/bundler/gems/*").each do |path|
sha = path.split('-').last[0..6] # only first 7 chars of the git sha
unless git_shas.include?(sha)