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(web): resolve no-unused-vars lint warning in index.spec.ts (#29273)

yyhb466d8da92ae
diff --git a/web/utils/index.spec.ts b/web/utils/index.spec.ts
index beda974e5c9..645fc246c10 100644
--- a/web/utils/index.spec.ts
+++ b/web/utils/index.spec.ts
@@ -452,9 +452,9 @@ describe('fetchWithRetry extended', () => {
})
it('should retry specified number of times', async () => {
- let attempts = 0
+ let _attempts = 0
const failingPromise = () => {
- attempts++
+ _attempts++
return Promise.reject(new Error('fail'))
}