Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

shisaru292da204c131d39
diff --git a/dev/reformat b/dev/reformat
index ad83e897d97..94a7f3e6feb 100755
--- a/dev/reformat
+++ b/dev/reformat
@@ -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