ruby : Update uri.rb ()

Bugfix ... without this Pathname the "/" operator wouldn't work and will throw an error
This commit is contained in:
Olli 2025-04-08 15:27:40 +02:00 committed by GitHub
parent ada745f4a5
commit b1f5c11b32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ module Whisper
when /darwin/
Pathname(Dir.home)/"Library/Caches"
else
ENV.key?("XDG_CACHE_HOME") ? ENV["XDG_CACHE_HOME"] : Pathname(Dir.home)/".cache"
ENV.key?("XDG_CACHE_HOME") ? Pathname(ENV["XDG_CACHE_HOME"]) : Pathname(Dir.home)/".cache"
end
base/"whisper.cpp"
end