An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
chore: Add modified files to the commit
Andras Bacsai00e146418507
diff --git a/hooks/pre-commit b/hooks/pre-commitindex f5fa607559..b19949d1a4 100644--- a/hooks/pre-commit+++ b/hooks/pre-commit@@ -4,4 +4,15 @@ if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; thenexec < /dev/ttyfi-$(pwd)/vendor/bin/pint+$(pwd)/vendor/bin/pint $@+# Get the list of files that were modified by Pint+modified_files=$(git diff --name-only --cached)++# Add the modified files back to the staging area+if [ -n "$modified_files" ]; then+ echo "Adding fixed files to the commit..."+ git add $modified_files+fi+++