Skip to content

Commit f553da8

Browse files
authored
fix: replace usage of nonexistent UI.info method
DragonBox#416 seems to have introduced a bug where an attempt is made to call a method named `info` on the UI interface, but this method doesn't exist. This PR simply changes the call to `UI.message` instead. Fixes DragonBox#430
1 parent 63b721b commit f553da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/u3d/hub_modules_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def load_modules(version, os: U3dCore::Helper.operating_system, offline: false)
5454
versions_and_paths = versions_and_paths.select { |a| a[0].parts[0] == vn.parts[0] && a[0].parts[1] == vn.parts[1] && a[0].parts[2] >= vn.parts[2] }
5555

5656
if versions_and_paths.empty?
57-
UI.info "No closest version from UnityHub found for version #{version}"
57+
UI.message "No closest version from UnityHub found for version #{version}"
5858
return []
5959
end
6060
path = versions_and_paths.first[1]

0 commit comments

Comments
 (0)