Skip to content

Commit 0ba65be

Browse files
committed
Syntax fix
1 parent 928d69c commit 0ba65be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/executable-hooks/regenerate_binstubs_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def try_to_install_binstubs(spec)
128128
end
129129

130130
def existing_gem_path(full_name)
131-
expanded_gem_paths.find{|path| File.exists? File.join path, 'gems', full_name}
131+
expanded_gem_paths.find{|path| File.exists?(File.join(path, 'gems', full_name))}
132132
end
133133

134134
def expanded_gem_paths

0 commit comments

Comments
 (0)