mirror of
https://github.com/langgenius/dify.git
synced 2024-11-15 19:22:36 +08:00
fix: missing working directory parameter in script (#10226)
This commit is contained in:
parent
9369cc44e6
commit
da204c131d
|
@ -9,10 +9,10 @@ if ! command -v ruff &> /dev/null || ! command -v dotenv-linter &> /dev/null; th
|
|||
fi
|
||||
|
||||
# run ruff linter
|
||||
ruff check --fix ./api
|
||||
poetry run -C api ruff check --fix ./api
|
||||
|
||||
# run ruff formatter
|
||||
ruff format ./api
|
||||
poetry run -C api ruff format ./api
|
||||
|
||||
# run dotenv-linter linter
|
||||
dotenv-linter ./api/.env.example ./web/.env.example
|
||||
poetry run -C api dotenv-linter ./api/.env.example ./web/.env.example
|
||||
|
|
Loading…
Reference in New Issue
Block a user