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 e8502c9 commit aa8195cCopy full SHA for aa8195c
packages/kbn-telemetry-tools/src/tools/tasks/write_to_file_task.ts
@@ -15,7 +15,7 @@ export function writeToFileTask({ roots }: TaskContext) {
15
return roots.map((root) => ({
16
task: async () => {
17
const fullPath = path.resolve(process.cwd(), root.config.output);
18
- if (root.mapping && Object.keys(root.mapping.properties).length > 0) {
+ if (root.mapping) {
19
// Sort first-level properties alphabetically
20
root.mapping.properties = Object.fromEntries(
21
Object.entries(root.mapping.properties).sort(([a], [b]) => {
x-pack/platform/plugins/private/telemetry_collection_xpack/schema/xpack_plugins.json
@@ -1,4 +1,3 @@
1
{
2
- "properties": {
3
- }
+ "properties": {}
4
}
0 commit comments