infrablocks / ruby_terraform

A simple Ruby wrapper for invoking terraform commands.
MIT License
109 stars 33 forks source link

iMake clean command safer #30

Closed jesusbv closed 5 years ago

jesusbv commented 5 years ago

The method Clean calls FileUtils.rm_rf which

Thus, the change to rm_r (same goal of removing a path recursively) with secure option, as the documentation points to avoid this security hole.

tobyclemson commented 5 years ago

LGTM

tobyclemson commented 5 years ago

Version 0.34.0 includes this change.