Closed balasankarc closed 5 years ago
@tas50 Could you take a look? From what I see, the CI failures are similar to what is seen in master, and are unrelated to this PR.
Looks good now. We should have done this a long time ago. Thanks for taking the time to clean it all up.
Description
Using
"#{foo}/#{bar}"
for generating paths is little error prone (for example, if someone makes a mistake and setsfoo = '/var/log/; bar = 'service'
, the path becomesfoo//bar
due to the trailing slash). Even though technically not an error, this may cause test failures wherefoo/bar
is explicitly tested.Using
::File.join
even though a bit of extra work, is safer.Check List