From bea9a7abc55c9a8378309e6aa858602b2685cc40 Mon Sep 17 00:00:00 2001 From: Pantheon Automation Date: Mon, 1 Nov 2021 23:39:34 +0000 Subject: [PATCH] Only suggest /web/modules/custom/* in .gitignore --- .gitignore | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b59724e..5ba20eb 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ # is to register them in Packagist and give them the type # `drupal-custom-module` instead of `drupal-module`. This will cause # Composer to install them to the directory `modules/custom`. +# This will cause a build error on Pantheon unless this location +# is .gitignore'd as shown below. # # An alternate strategy for custom modules is to commit them # directly to the repository of the site where they are used. This @@ -41,10 +43,10 @@ # you might instead commit Git-tracked custom modules to some other # path, such as /web/modules/. # -# Sites that do not have any Composer-managed custom modules may -# delete all of the `modules/custom` lines below. +# Sites that do not have any Composer-managed custom modules do +# not need to use any of the `modules/custom` rules below. # ------------------------------------------------------------------ -/web/modules/custom/* +#/web/modules/custom/* #!/web/modules/custom/module_in_repo