Skip to content

Commit 1ee4912

Browse files
committed
refactor(OUT-2053): remove console.log's
1 parent d34bd77 commit 1ee4912

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/app/api/activity-logs/services/activity-log.service.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ export class ActivityLogService extends BaseService {
183183
if (!task.clientId && task.companyId) {
184184
const companyClients = (await copilot.getClients({ companyId: task.companyId }))?.data || []
185185
return parsedActivityLogs.filter((log) => {
186-
console.log('\n\n\n\n\n\n')
187-
console.log(log)
188-
console.log(isIuLog(log), isCurrentCompanysClientLog(log), isCompanyMemberLog(companyClients, log))
189-
console.log('\n\n\n\n\n\n')
190186
return isIuLog(log) || isCurrentCompanysClientLog(log) || isCompanyMemberLog(companyClients, log)
191187
})
192188
}

‎src/lib/patch-jsdom-xhr.cjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ fs.readFile(filePath, 'utf8', (err, data) => {
2020
const newLine = `const syncWorkerFile = "${resolvedPath}";`
2121

2222
if (!oldLine.test(data)) {
23-
console.log('⚠️ Patch not applied: Pattern not found.')
23+
console.info('⚠️ Patch not applied: Pattern not found.')
2424
return
2525
}
2626

2727
const updated = data.replace(oldLine, newLine)
2828

2929
fs.writeFile(filePath, updated, 'utf8', (err) => {
3030
if (err) throw err
31-
console.log('✅ Patched XMLHttpRequest-impl.js with resolved syncWorker path.')
31+
console.info('✅ Patched XMLHttpRequest-impl.js with resolved syncWorker path.')
3232
})
3333
})

0 commit comments

Comments
 (0)