lib/u3d/commands.rb in u3d-1.1.3 vs lib/u3d/commands.rb in u3d-1.1.4
- old
+ new
@@ -149,10 +149,10 @@
packages = packages_with_unity_first(options)
cache_versions = cache_versions(os, offline: !options[:download])
version = interpret_latest(version, cache_versions)
unless cache_versions[version]
- UI.error "No version '#{version}' was found in cache. Either it doesn't exist or u3d doesn't know about it yet. Try refreshing with 'u3d available -f'"
+ UI.crash! "No version '#{version}' was found in cache. Either it doesn't exist or u3d doesn't know about it yet. Try refreshing with 'u3d available -f'"
return
end
definition = UnityVersionDefinition.new(version, os, cache_versions)
unity = check_unity_presence(version: version)