This switches from calling FileUtils.cd (an alias for Dir.chdir) to using the block form of Dir.chdir. Unless you use the block form, invoking Subprocess with the cwd option within another chdir block triggers a warning message on the console from:
https://github.com/ruby/ruby/blob/v2_4_1/dir.c#L1033-L1034
I recommend reviewing with ?w=1 since this is almost all whitespace change.
This switches from calling FileUtils.cd (an alias for Dir.chdir) to using the block form of Dir.chdir. Unless you use the block form, invoking Subprocess with the cwd option within another chdir block triggers a warning message on the console from: https://github.com/ruby/ruby/blob/v2_4_1/dir.c#L1033-L1034
I recommend reviewing with
?w=1
since this is almost all whitespace change.r? @nelhage cc @stripe/product-infra