Fetch overwrote files
corysimmons opened this issue · comments
So my project structure was like this:
/foosite
/design
mockup.psd
I created a website template like this:
/website
/css
style.css
/design
mockup.psd
Then I zipped that entire folder like so:
website.zip
/website
/css
style.css
/design
mockup.psd
When I ran Fetch in the /foosite directory, I expected it to unzip and put a /website folder as a child of /foosite. Instead, it completely ignores the /website folder and just puts the contents of /website into /foosite, which meant the /design folder overwrote the old /design folder thereby overwriting a mockup I needed without prompting.
I'm okay with it not prompting, but why does it ignore the /website folder as if it never existed? There's a reason I specifically nested /website within website.zip (so I didn't overwrite anything).
Luckily I do daily backups, but this is still unexpected behavior and made me sweat as I thought I'd lost weeks of work.