Skip to content

Maximum call stack size exceeded with some settings #493

@thib3113

Description

@thib3113

I think I found a bug,
I'm using version 0.14.1 .

I'm using the options :

retryInDefaultLocale = true;
syncFiles: true,

So when I translate :

  • i18nTranslate => call translate
  • translate see (!skipSyncToAllFiles && syncFiles) === true => call syncToAllFiles
  • syncToAllFiles => call translate with skipSyncToAllFiles = true
  • translate go to here (same here) => call translate file without skipSyncToAllFiles
  • translate see (!skipSyncToAllFiles && syncFiles) === true => call syncToAllFiles (and then, restart the loop) .

Maybe passing syncToAllFiles here and here, can be a quick fix

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions