Skip to content

Commit

Permalink
Empty tmp dir before running
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiyt committed Dec 10, 2023
1 parent 9af59d9 commit dac05ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bounty-targets/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def run!
root = File.expand_path(File.join(__dir__, '..', '..'))

with_ssh_keys do |git_ssh_cmd|
FileUtils.rm_rf(Dir.glob('/tmp/*'))
Dir.mktmpdir do |tmpdir|
Dir.chdir(tmpdir) do
# Clone + setup
Expand Down

0 comments on commit dac05ad

Please sign in to comment.