We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada745f commit b1f5c11Copy full SHA for b1f5c11
bindings/ruby/lib/whisper/model/uri.rb
@@ -34,7 +34,7 @@ def base_cache_dir
34
when /darwin/
35
Pathname(Dir.home)/"Library/Caches"
36
else
37
- 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"
38
end
39
base/"whisper.cpp"
40
0 commit comments