You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have the localesDir set in your locorc.json file, and also set it via a CLI flag (-d, --locales-dir <path>), the localesDir from the config file takes precedency, while I would have expected the CLI flag.
The text was updated successfully, but these errors were encountered:
As the CLI adds defaults eg: localesDir: ".", it makes more sense that the config file is the overwriting truth, no?
If we do want the CLI to overwrite the config file, we'd need to extract these defaults from cli.ts and add them in the options.ts. It's possible, but do we want to do that? @robrechtme
If you have the
localesDir
set in your locorc.json file, and also set it via a CLI flag (-d, --locales-dir <path>
), the localesDir from the config file takes precedency, while I would have expected the CLI flag.The text was updated successfully, but these errors were encountered: