Skip to content

Commit

Permalink
reverting last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewI26 committed Nov 4, 2024
1 parent 9a6ee31 commit 81b8843
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/cangen/cangen/can_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def generate_code(bus: Bus, config: Config):

def _prepare_output_directory(output_dir):
"""Deletes previously generated files and creates a gitignore for the directory"""
os.makedirs(output_dir, exist_ok=True)
shutil.rmtree(output_dir)

os.makedirs(output_dir, exist_ok=True)
Expand Down

0 comments on commit 81b8843

Please sign in to comment.