Skip to content

Commit 37cf5e9

Browse files
authored
fix(owlbot-postprocessor): Fix incorrect multiwrapper Gemfile combination (#363)
1 parent 6c7944a commit 37cf5e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

owlbot-postprocessor/lib/owlbot/multi_wrapper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ def expand_gemfile
217217
local_deps = match[1].split(/,\s*/)
218218

219219
@other_gems.each do |gem_name|
220-
content = File.read "#{gem_name}/Gemfile"
221-
match = /local_dependencies = \[(.*)\]/.match content
220+
content2 = File.read "#{gem_name}/Gemfile"
221+
match = /local_dependencies = \[(.*)\]/.match content2
222222
next unless match
223223
local_deps += match[1].split(/,\s*/)
224224
end

0 commit comments

Comments
 (0)