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

This commit is contained in:
shisaru292 2024-11-04 15:23:18 +08:00 committed by Yeuoly
parent 2d9632d8b9
commit 1e27557865
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

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