Skip to content

Commit bf55f36

Browse files
Move ncit logging to the end
1 parent b3b444a commit bf55f36

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/ncit/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,17 +699,17 @@ const uploadFile = async ({
699699
}
700700
}
701701

702-
703-
logger.info(`Count of records without an explicitly given name: ${noExplicitNameCount}`);
704-
logger.info(`Count of sourceId used as record's name: ${sourceIdAsNameCount}`);
705-
logger.info(JSON.stringify(counts));
706-
707702
// DEPRECATING
708703
// Deprecates GraphKB records no longer in upload
709704
if (!ignoreDeprecating) {
710705
logger.info('deprecating old GraphKB records...');
711706
await deprecateRecords(conn, { ncitIds, source });
712707
}
708+
709+
// LOGGING
710+
logger.info(`Count of records without an explicitly given name: ${noExplicitNameCount}`);
711+
logger.info(`Count of sourceId used as record's name: ${sourceIdAsNameCount}`);
712+
logger.info(JSON.stringify(counts));
713713
};
714714

715715

0 commit comments

Comments
 (0)