Skip to content

Commit

Permalink
do not remove .cargo directroy
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Oct 23, 2024
1 parent df1b5d3 commit 47d6667
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1092,9 +1092,6 @@ def check_vendored_status(self):
if not os.path.exists(cargo_dir):
eprint('ERROR: vendoring required, but .cargo/config does not exist.')
raise Exception("{} not found".format(cargo_dir))
else:
if os.path.exists(cargo_dir):
shutil.rmtree(cargo_dir)

def parse_args(args):
"""Parse the command line arguments that the python script needs."""
Expand Down

0 comments on commit 47d6667

Please sign in to comment.