Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(backend): remove console.log statements

johavene63598acdabe
diff --git a/backend/src/configuration/config.loader.ts b/backend/src/configuration/config.loader.ts
index ea3e11e0..671dd333 100644
--- a/backend/src/configuration/config.loader.ts
+++ b/backend/src/configuration/config.loader.ts
@@ -53,9 +53,6 @@ function loadEnvFile(envPath: string, envFileName: string, throwIfMissing = fals
const candidates = [envPath, envFileName, ...buildPathsUp(__dirname, envPath), ...buildPathsUp(__dirname, envFileName)]
for (const envFilePath of candidates) {
if (fs.existsSync(envFilePath) && fs.lstatSync(envFilePath).isFile()) {
- if (envFileName === ENVIRONMENT_FILE_NAME) {
- console.log(`Load configuration → ${envFilePath}`)
- }
return yaml.load(fs.readFileSync(envFilePath, 'utf8'))
}
}
diff --git a/backend/src/infrastructure/database/constants.ts b/backend/src/infrastructure/database/constants.ts
index 0f3b5fe6..00c95c83 100644
--- a/backend/src/infrastructure/database/constants.ts
+++ b/backend/src/infrastructure/database/constants.ts
@@ -18,7 +18,6 @@ export function getSchemaPath(): string {
for (const ext of extensions) {
const filePath = path.join(__dirname, `schema.${ext}`)
if (fs.existsSync(filePath)) {
- console.log('USE SCHEMA PATH', filePath)
return filePath
}
}