Skip to content

Commit

Permalink
Remove post install .env copy (roots#595)
Browse files Browse the repository at this point in the history
`.env.example` is just an example and doesn't contain useful defaults.
Copying this file can be confusing since it needs to be edited
regardless. By not copying this file, we'll surface errors of missing
config values sooner since they'll be no default values.
  • Loading branch information
swalkinshaw authored Jul 16, 2023
1 parent 9223c3b commit 50a86d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
"wordpress-install-dir": "web/wp"
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"test": [
"phpcs"
]
Expand Down

0 comments on commit 50a86d4

Please sign in to comment.