lib/terragov/cli.rb in terragov-0.2.4 vs lib/terragov/cli.rb in terragov-0.2.5
- old
+ new
@@ -237,10 +237,10 @@
if config('verbose', false, false)
puts "Selecting directory #{repo_dir}"
end
files_to_delete = [
- /\.terraform/,
+ /\.terraform$/,
/terraform\.tfstate\.backup/,
]
path = config('repo_dir', true)