We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e389c92 commit fe679a9Copy full SHA for fe679a9
Formula/ssh-studio.rb
@@ -33,15 +33,15 @@ def install
33
python3 = Formula["python@3.13"]
34
ohai "Checking for Python 3.13..."
35
ohai "opt_bin: #{python3.opt_bin}"
36
-
+
37
python_bin = if (python3.opt_bin/"python3").exist?
38
python3.opt_bin/"python3"
39
elsif (python3.opt_bin/"python3.13").exist?
40
python3.opt_bin/"python3.13"
41
else
42
prefix = `brew --prefix python@3.13 2>/dev/null`.strip
43
ohai "brew --prefix: #{prefix}"
44
- if !prefix.empty?
+ unless prefix.empty?
45
if File.exist?("#{prefix}/bin/python3")
46
Pathname.new("#{prefix}/bin/python3")
47
elsif File.exist?("#{prefix}/bin/python3.13")
0 commit comments