Don't downcase file path unless we need too, update gems.

This commit is contained in:
2025-10-10 13:30:37 -05:00
parent d67ffa14a3
commit d12d3ff6b8
2 changed files with 7 additions and 5 deletions

View File

@@ -129,11 +129,11 @@ class W3DHub
end
end
# Find file if it exists, otherwise downcase the `path` sans `base_path`
# Find file if it exists else use provided path as cased
if "#{base_path}/#{path}".length == constructed_path.length
constructed_path
else
"#{base_path}/#{path.downcase}"
"#{base_path}/#{path}" # File doesn't exist, case doesn't matter.
end
end