mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
f8a1da1b47
[web] share mongo connection pool between Mongoose and native db GitOrigin-RevId: 8bb2a9dc76880144a8681cb564183906df624cc0
11 lines
295 B
JavaScript
11 lines
295 B
JavaScript
function filterOutput(line) {
|
|
return (
|
|
!line.startsWith('Using settings from ') &&
|
|
!line.startsWith('Using default settings from ') &&
|
|
!line.startsWith('CoffeeScript settings file') &&
|
|
!line.includes('mongoose default connection open')
|
|
)
|
|
}
|
|
|
|
module.exports = { filterOutput }
|