fix(telemetry): renames _aggregateTelemetry to aggregateTelemetry to avoid confusion about it being a private function (it's not)

This commit is contained in:
Eyal Toledano
2025-05-17 17:48:45 -04:00
parent 6ba42b53dc
commit 8a3b611fc2
2 changed files with 4 additions and 4 deletions

View File

@@ -552,7 +552,7 @@ function detectCamelCaseFlags(args) {
* @param {string} overallCommandName - The name for the aggregated command.
* @returns {Object|null} Aggregated telemetry object or null if input is empty.
*/
function _aggregateTelemetry(telemetryArray, overallCommandName) {
function aggregateTelemetry(telemetryArray, overallCommandName) {
if (!telemetryArray || telemetryArray.length === 0) {
return null;
}
@@ -624,5 +624,5 @@ export {
addComplexityToTask,
resolveEnvVariable,
findProjectRoot,
_aggregateTelemetry
aggregateTelemetry
};