From 239754813d16dcb4a55fe8a3215c01ec54c4428d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 7 Aug 2024 23:35:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20env=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=A7=A6=E5=8F=91=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 0a95bddad..9598a7245 100644 --- a/composer.json +++ b/composer.json @@ -84,13 +84,7 @@ } }, "scripts": { - "post-package-update": [ - "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" - ], - "post-package-install": [ - "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" - ], - "post-create-project-cmd": [ + "post-autoload-dump": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ] }