async function main()

in telemetry/validation/src/fix.ts [13:24]


async function main() {
    if (process.argv.length < 3) {
        throw new Error('args is missing the file to validate')
    }

    const jsonPath = process.argv[2]
    const definitions = await loadTelemetryDefinitions(jsonPath)

    reorder(definitions)

    await saveTelemetryDefinitions(definitions, jsonPath)
}