We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6447666 + 4aa513b commit a7e60d8Copy full SHA for a7e60d8
1 file changed
composer-reinstall
@@ -54,11 +54,11 @@ echo "## Found composer at: ${COMPOSER}"
54
COMPOSER_VENDOR_DIR="$($COMPOSER config --absolute vendor-dir)"
55
COMPOSER_BIN_DIR="$($COMPOSER config --absolute bin-dir)"
56
57
-# Purge the vendor folder entirely and just symlinks from the bin folder.
58
-echo "## Deleting vendor-dir: ${COMPOSER_VENDOR_DIR}"
59
-rm -rf "$COMPOSER_VENDOR_DIR"
+# Purge the symlinks from the bin folder first then clear the vendor folder entirely.
60
echo "## Removing bin-dir symlinks from: ${COMPOSER_BIN_DIR}"
61
find "$COMPOSER_BIN_DIR" -type l -delete;
+echo "## Deleting vendor-dir: ${COMPOSER_VENDOR_DIR}"
+rm -rf "$COMPOSER_VENDOR_DIR"
62
63
# Execute `composer install`
64
echo "## Running install."
0 commit comments