diff --git a/update-badges.js b/update-badges.js
index <HASH>..<HASH> 100644
--- a/update-badges.js
+++ b/update-badges.js
@@ -28,7 +28,7 @@ let newRstExchangeTable = rstExchangeTableLines.map (line => {
 
 //-----------------------------------------------------------------------------
 
-function updateExchangeCountInBadge (fileName) {
+function updateExchangeCount (fileName) {
 
     log.bright.cyan ('Updating exchange count →', fileName.yellow)
minor fix in update-badges.js