File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ ifndef path
1818endif
1919
2020ifneq ("$(wildcard ecs.php) ","")
21- ECS_DR := docker run -it --user=${UID}:${GID} -- rm -v "$$PWD":/codebase -v "$$PWD/ecs.php":/app/ecs.php ${ECS_IMAGE} bash
21+ ECS_DR := docker run -it --rm -v "$$PWD":/codebase -v "$$PWD/ecs.php":/app/ecs.php ${ECS_IMAGE} bash
2222else
23- ECS_DR := docker run -it --user=${UID}:${GID} -- rm -v "$$PWD":/codebase ${ECS_IMAGE} bash
23+ ECS_DR := docker run -it --rm -v "$$PWD":/codebase ${ECS_IMAGE} bash
2424endif
2525
2626GIT_DIR = $(shell git rev-parse --show-toplevel)
@@ -33,7 +33,7 @@ GIT_DIFF_BRANCH=$(shell git diff --name-only --diff-filter=ACMRTUXB "${GIT_DIFF_
3333# #
3434code.check :
3535 ${ECS_DR} \
36- -c " ecs check --config /app/ecs.php ${path} "
36+ -c " pwd && whoami && ecs check --config /app/ecs.php ${path} "
3737
3838# #
3939# @command code.fix Fix code in specified path. Usage: `make code.fix path=src/app\ src/tests` (src by default)
You can’t perform that action at this time.
0 commit comments