Skip to content

Commit

Permalink
fix: use instead of hardcoded web/ (#94)
Browse files Browse the repository at this point in the history
Co-authored-by: Moshe Weitzman <[email protected]>
  • Loading branch information
nachosalvador and weitzman authored Dec 4, 2024
1 parent a4ebc70 commit bddfc71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/web/phpcbf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if ! command -v phpcbf >/dev/null; then
exit 1
fi
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist
phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"
phpcbf -s --report-full --report-summary --report-source $DDEV_DOCROOT/modules/custom "$@"
2 changes: 1 addition & 1 deletion commands/web/phpcs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if ! command -v phpcs >/dev/null; then
exit 1
fi
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist
phpcs -s --report-full --report-summary --report-source web/modules/custom --ignore=*/.ddev/* "$@"
phpcs -s --report-full --report-summary --report-source $DDEV_DOCROOT/modules/custom --ignore=*/.ddev/* "$@"

0 comments on commit bddfc71

Please sign in to comment.