Skip to content

Commit

Permalink
Merge pull request #622 from evo-lua/fix-submodule-capitalization
Browse files Browse the repository at this point in the history
Fix a capitalization issue in the submodule updater
  • Loading branch information
rdw-software authored Jan 7, 2025
2 parents 2c81f80 + 02786db commit 7cd49e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BuildTools/update-submodules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function SubmoduleUpdater:GetHelpText(submodules)
local indent = " "
local readableList = indent .. table.concat(sortedKeys, "\n" .. indent)

return "Valid submodule IDs:\n\n" .. readableList:lower()
return "Valid submodule IDs:\n\n" .. readableList
end

local gitmodulesFileContents = C_FileSystem.ReadFile(".gitmodules")
Expand All @@ -97,7 +97,7 @@ if not submoduleID then
os.exit(1)
end

local submoduleToUpdate = submodules[submoduleID] or submodules[submoduleID:lower()]
local submoduleToUpdate = submodules[submoduleID]
if not submoduleToUpdate then
printf(red("Cannot upgrade submodule %s (invalid submodule ID)\n"), submoduleID)
print(SubmoduleUpdater:GetHelpText(submodules))
Expand Down

0 comments on commit 7cd49e8

Please sign in to comment.