PyBites-Open-Source / eatlocal

This package helps users solve PyBites code challenges on their local machine.
MIT License
20 stars 9 forks source link

Downloading an existing bite overwrites bite directory. #18

Closed rhelmstedter closed 2 years ago

rhelmstedter commented 2 years ago

When running eatlocal download on a bite that already exists, the bite is extracted from the cache and overwrites the existing bite directory.

In addition to checking the cache, extract_bite() should check the pybites repo to see if the directory already exists. If the desired behavior is to overwrite the directory, add a --force flag to download.

rhelmstedter commented 2 years ago

Fixed with fixed with commit 012cf4c