Skip to content

Commit

Permalink
Avoid falsely .gitignore file when cache:clear fails
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jan 9, 2025
1 parent 119bc75 commit 15ca37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
"@auto-scripts"
],
"post-root-package-install": [
"@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"",
"@php -r \"file_put_contents('.env.local', 'APP_ENV=dev' . PHP_EOL);\"",
"@php -r \"file_put_contents('.env', str_replace('APP_SECRET=\\'s\\$cretf0rt3st\\'', 'APP_SECRET=' . bin2hex(random_bytes(16)), file_get_contents('.env')));\""
],
"post-create-project-cmd": [
"@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"",
"@php bin/adminconsole sulu:admin:info --ansi"
],
"bootstrap-test-environment": [
Expand Down

0 comments on commit 15ca37b

Please sign in to comment.