Skip to content

Commit bfa3f08

Browse files
authored
Avoid warning in symlink-project (#144)
1 parent 572c6d4 commit bfa3f08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commands/web/symlink-project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export _WEB_ROOT=$DDEV_DOCROOT
1414
cd "$DDEV_COMPOSER_ROOT" || exit
1515
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/symlink_project.php
1616

17+
# Suppress a warning.
18+
export PROJECT_FILES=$(ls -A)
1719
# Symlink name using underscores.
1820
# @see https://www.drupal.org/docs/develop/creating-modules/naming-and-placing-your-drupal-module
1921
php symlink_project.php "${DDEV_SITENAME//-/_}"

0 commit comments

Comments
 (0)