function getLanguage()

in eng/scripts/inventory-dashboard/src/formatData.ts [265:274]


function getLanguage(pkg: any): Language {
  // use the Language property as the language 
  if (pkg.Language) return pkg.Language;
  else {
    log.warn(
      `Language could not be determined for package: ${JSON.stringify(pkg)}`
    );
    return "UNABLE TO DETERMINE LANGUAGE";
  }
}