Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: remove console

Faisal Amir013769177868
diff --git a/docs/src/utils/format.ts b/docs/src/utils/format.ts
index a0a09e1a8..11f0b311c 100644
--- a/docs/src/utils/format.ts
+++ b/docs/src/utils/format.ts
@@ -21,11 +21,7 @@ export const totalDownload = (release: []) => {
if (release instanceof Array) {
const count = release
.map((version: { assets: any[]; name: string }) => {
- // it will be correct since 0.5.15
- const tag = version.name >= '0.5.15' && version.name.includes('0.5.15')
-
return version.assets
- .filter((os) => !(tag && os.name.endsWith('.yml')))
.map((os) => os.download_count)
})
.map((x: any[]) => x.reduce((a: any, b: any) => a + b, 0))