arnolem / tailwindphp

TailwindPHP - use Tailwind CSS in your PHP projects (without npm)
https://wixiweb.fr
MIT License
7 stars 3 forks source link

added check for input file before deleting it #1

Closed ousiadigital closed 6 months ago

ousiadigital commented 6 months ago

Hey there,

thank you for your implementation of the Tailwind CLI =)

We are using it in our project and found a problem when no CSS string was passed. The added check (line 81-83) fixes it.

We would be glad if you could merge it =)

Kind Regards Oliver Meschnig

ousiadigital commented 6 months ago

Thanks for the quick response =) Have a nice day!

arnolem commented 6 months ago

Thanks for the contribution. The patch is deployed on packagegist 😉