This commit is contained in:
Andras Bacsai
2024-09-23 20:54:56 +02:00
parent 13a5536cff
commit 46a7937761
2 changed files with 2 additions and 4 deletions

View File

@@ -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;

View File

@@ -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 .