mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix: missing working directory parameter in script (#10226)
This commit is contained in:
parent
2d9632d8b9
commit
1e27557865
|
@ -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