fix: remove file existence check from LSP debug and format storage code

This commit is contained in:
Dax Raad
2025-09-23 16:49:49 -04:00
parent 6404bd006d
commit f40b91ab7a
2 changed files with 4 additions and 6 deletions

View File

@@ -14,7 +14,10 @@ export namespace Storage {
const MIGRATIONS: Migration[] = [
async (dir) => {
const project = path.resolve(dir, "../project")
for await (const projectDir of new Bun.Glob("*").scan({ cwd: project, onlyFiles: false })) {
for await (const projectDir of new Bun.Glob("*").scan({
cwd: project,
onlyFiles: false,
})) {
log.info(`migrating project ${projectDir}`)
let projectID = projectDir
const fullProjectDir = path.join(project, projectDir)