tools/isobuild/import-scanner.js
// Set each file.imported status to the maximum status of provided files.
Set each file.imported status to the maximum status of provided files.
Set each file . imported status to the maximum status of provided files .
function alignImportedStatuses(...files) {
  const maxIndex = Math.max(...files.map(
    file => importedStatusOrder.indexOf(file.imported)));
  const maxStatus = importedStatusOrder[maxIndex];
  files.forEach(file => file.imported = maxStatus);
}
function alignImportedStatuses ( ... files ) { const maxIndex = Math . max ( ... files . map ( file => importedStatusOrder . indexOf ( file . imported ) ) ) ; const maxStatus = importedStatusOrder [ maxIndex ] ; files . forEach ( file => file . imported = maxStatus ) ; }
Set each file.imported status to the maximum status of provided files.
Set each file . imported status to the maximum status of provided files .