Closed jelaniwoods closed 5 years ago
@jelaniwoods Huh, really? Quite odd that Thor does not support removing. Maybe this is a slight improvement? https://stackoverflow.com/a/25008281
@raghubetina Seems I was mistaken! Apparently it's been aliased with remove_file
, which seems not entirely accurate naming. remove_dir
will still work and is a better name, although it's kind of hidden in the docs.
Cool. LGTM 👍
67 The changes made will now remove the
concerns/
folder from both thecontrollers/
folder as well as themodels/
folder.There didn't seem to be a Thor method for removing folders specifically so I just used a Bash command.