We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c4e69 commit a0a2b8fCopy full SHA for a0a2b8f
src/parser.js
@@ -774,7 +774,8 @@ class Parser {
774
let resStore = {};
775
if (this.options.removeUnusedKeys) {
776
// Merge two objects `resStore` and `resScan` deeply, returning a new merged object with the elements from both `resStore` and `resScan`.
777
- const resMerged = deepMerge(this.resStore, this.resScan);
+ const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray;
778
+ const resMerged = deepMerge(this.resStore, this.resScan, { arrayMerge: overwriteMerge });
779
780
Object.keys(this.resStore).forEach((lng) => {
781
Object.keys(this.resStore[lng]).forEach((ns) => {
0 commit comments