Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zw963 committed Jul 13, 2024
1 parent 61318e7 commit 02c354a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translater.cr
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Translater
]

driver_path = driver_paths.each do |path|
break path.to_s if File.executable? path
break path.to_s if File::Info.executable? path
end

if driver_path.nil?
Expand Down

0 comments on commit 02c354a

Please sign in to comment.