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.

refactor: clean up empty folders (#6454)

Louis1d36a4ad6e10
diff --git a/.gitignore b/.gitignore
index e087b3b66..6b51867ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ core/lib/**
.yarnrc
*.tsbuildinfo
test_results.html
+pre-install
# docs
docs/yarn.lock
diff --git a/pre-install/.gitkeep b/pre-install/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/scripts/download-bin.mjs b/scripts/download-bin.mjs
index a1884d940..36e17b3f0 100644
--- a/scripts/download-bin.mjs
+++ b/scripts/download-bin.mjs
@@ -231,11 +231,6 @@ async function main() {
console.log('Downloads completed.')
}
-// Ensure the downloads directory exists
-if (!fs.existsSync('downloads')) {
- fs.mkdirSync('downloads')
-}
-
main().catch((err) => {
console.error('Error:', err)
process.exit(1)