Skip to content

Commit 46a7937

Browse files
committed
test
1 parent 13a5536 commit 46a7937

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/Console/Commands/Init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Init extends Command
2525

2626
public function handle()
2727
{
28-
if (isCloud() && ! $this->option('force-cloud') ) {
28+
if (isCloud() && ! $this->option('force-cloud')) {
2929
echo "Skipping init as we are on cloud and --force-cloud option is not set\n";
3030

3131
return;

hooks/pre-commit

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then
44
exec < /dev/tty
55
fi
66

7-
files=$(git diff --cached --name-only --diff-filter=ACM -- '*.php');
87
$(pwd)/vendor/bin/pint $files -q
9-
10-
git add $files
8+
git add .

0 commit comments

Comments
 (0)