fix: make mapping tags work for overwritten values

This commit is contained in:
Wieland Schöbl
2019-09-23 13:28:21 +02:00
parent 18ad651286
commit 47361d412a
7 changed files with 35406 additions and 101 deletions

View File

@@ -102,7 +102,7 @@ commander
// write documentation to file
// tslint:disable-next-line:no-magic-numbers
writeFileSync(mappingPath, JSON.stringify(result.template, null, 2));
writeFileSync(mappingPath, JSON.stringify(result, null, 2));
Logger.ok(`Elasticsearch mapping written to ${mappingPath}.`);
});