We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ca265b + 09a5d12 commit 7ae30a9Copy full SHA for 7ae30a9
book/07-git-tools/git-credential-read-only
@@ -11,7 +11,7 @@ OptionParser.new do |opts|
11
end.parse!
12
13
exit(0) unless ARGV[0].downcase == 'get' # <2>
14
-exit(0) unless File.exists? path
+exit(0) unless File.exist? path
15
16
known = {} # <3>
17
while line = STDIN.gets
0 commit comments