fix: missing working directory parameter in script (#10226)

This commit is contained in:
shisaru292 2024-11-04 15:23:18 +08:00 committed by GitHub
parent 9369cc44e6
commit da204c131d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,10 +9,10 @@ if ! command -v ruff &> /dev/null || ! command -v dotenv-linter &> /dev/null; th
fi fi
# run ruff linter # run ruff linter
ruff check --fix ./api poetry run -C api ruff check --fix ./api
# run ruff formatter # run ruff formatter
ruff format ./api poetry run -C api ruff format ./api
# run dotenv-linter linter # run dotenv-linter linter
dotenv-linter ./api/.env.example ./web/.env.example poetry run -C api dotenv-linter ./api/.env.example ./web/.env.example