Skip to content

Commit

Permalink
fixed empty file error
Browse files Browse the repository at this point in the history
  • Loading branch information
7R41N33 committed Mar 24, 2022
1 parent 0621a1d commit ae75eec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/uffizzi/cli/connect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def handle_amazon
end

def handle_google(credential_file_path)
return Uffizzi.ui.say('Path to google service account key file wasn\'t specified.') if credential_file_path.nil?

begin
credential_content = File.read(credential_file_path)
rescue Errno::ENOENT => e
Expand Down

0 comments on commit ae75eec

Please sign in to comment.