src/zipkin/span-row.js
// This guards to ensure we don't add duplicate service names on merge
This guards to ensure we don't add duplicate service names on merge
This guards to ensure we don ' t add duplicate service names on merge
function maybePushServiceName(serviceNames, serviceName) {
  if (!serviceName) return;
  if (serviceNames.findIndex(s => s === serviceName) === -1) {
    serviceNames.push(serviceName);
  }
}
function maybePushServiceName ( serviceNames , serviceName ) { if ( ! serviceName ) return ; if ( serviceNames . findIndex ( s => s === serviceName ) === - 1 ) { serviceNames . push ( serviceName ) ; } }
This guards to ensure we don't add duplicate service names on merge
This guards to ensure we don ' t add duplicate service names on merge