Skip to content

Commit

Permalink
Update app/models/manageiq/providers/embedded_terraform/automation_ma…
Browse files Browse the repository at this point in the history
…nager/configuration_script_source.rb

Co-authored-by: Adam Grare <[email protected]>
  • Loading branch information
putmanoj and agrare authored Mar 19, 2024
1 parent 262161b commit dfa4fb0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def find_templates_in_git_repo
end
end

# cleanup temp git directory
FileUtils.rm_rf(git_checkout_tempdir)

template_dirs
ensure
# cleanup temp git directory
FileUtils.rm_rf(git_checkout_tempdir) if git_checkout_tempdir
end
end

0 comments on commit dfa4fb0

Please sign in to comment.