Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
fix: ensure that .netlify is a directory and not a file or broken sym…
Browse files Browse the repository at this point in the history
…link (#890)
  • Loading branch information
danez authored Jan 9, 2023
1 parent d55944c commit 559b3f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ install_dependencies() {
# Automatically installed Build plugins
if [ ! -d "$PWD/.netlify" ]
then
# It might be a file or a broken symlink, so let's remove it before creating it
rm -rf "$PWD/.netlify"
mkdir "$PWD/.netlify"
fi
restore_cwd_cache ".netlify/plugins" "build plugins"
Expand Down

0 comments on commit 559b3f5

Please sign in to comment.