Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

touch is in FileUtils not File.

  • Loading branch information...
commit 64e86b129f85cfb6c921f1bc0fe856afbd4e737d 1 parent c7d27b3
@wayneeseguin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/psql-cm/database.rb
View
2  lib/psql-cm/database.rb
@@ -37,7 +37,7 @@ def close!
def pgpass # Ensure a pgpass entry exists for this connection.
pgpass_file = File.join(ENV['HOME'], '.pgpass')
- File.touch(pgpass_file) unless File.exists?(pgpass_file)
+ FileUtils.touch(pgpass_file) unless File.exists?(pgpass_file)
pgpass_line = [ @config[:host], @config[:port], @config[:dbname],
@config[:user], @config[:password] ].join(':')
Please sign in to comment.
Something went wrong with that request. Please try again.