Commit 08e17258 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Prefer single-quoted strings when you dont need string interpolation or special symbols.

parent 45c83e03
......@@ -80,7 +80,7 @@ module Pod
#
def self.which(program)
program = program.to_s
ENV["PATH"].split(File::PATH_SEPARATOR).each do |path|
ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
bin = File.expand_path(program, path)
if File.file?(bin) && File.executable?(bin)
return bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment