Skip to content

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.

test

Andras Bacsai46a793776192
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php
index 3c76e66c8f..3c31ffad23 100644
--- a/app/Console/Commands/Init.php
+++ b/app/Console/Commands/Init.php
@@ -25,7 +25,7 @@ class Init extends Command
public function handle()
{
- if (isCloud() && ! $this->option('force-cloud') ) {
+ if (isCloud() && ! $this->option('force-cloud')) {
echo "Skipping init as we are on cloud and --force-cloud option is not set\n";
return;
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 99c925630d..353af0e097 100644
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -4,7 +4,5 @@ if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then
exec < /dev/tty
fi
-files=$(git diff --cached --name-only --diff-filter=ACM -- '*.php');
$(pwd)/vendor/bin/pint $files -q
-
-git add $files
+git add .