svdgraaf / serverless-basic-authentication

Use Basic Authentication using Api Gateway api-keys
MIT License
22 stars 19 forks source link

Do check if symlink exists and is the correct link before trying to create it #35

Open danielloader opened 4 years ago

danielloader commented 4 years ago

Sometimes I end up doing Ctrl+C on a deploy and if the symlink is created it's not cleaned up, as expected due to the exit.

Might be worth checking if the symlink is correct before attempting to create it if it exists.