mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
Merge pull request #2075 from overleaf/ho-setting-doc-log-level
downgrade log of no root doc to log to reduce noise GitOrigin-RevId: f729f44b46704a26a8bcd808e64a239a0da38107
This commit is contained in:
@@ -775,10 +775,7 @@ const ClsiManager = {
|
||||
}
|
||||
if (rootResourcePath == null) {
|
||||
if (hasMainFile) {
|
||||
logger.warn(
|
||||
{ projectId },
|
||||
'no root document found, setting to main.tex'
|
||||
)
|
||||
logger.log({ projectId }, 'no root document found, setting to main.tex')
|
||||
rootResourcePath = 'main.tex'
|
||||
} else if (numberOfDocsInProject === 1) {
|
||||
// only one file, must be the main document
|
||||
|
||||
Reference in New Issue
Block a user