Remove extraneous }

This commit is contained in:
Louis Romero 2017-04-21 00:24:09 +02:00 committed by GitHub
parent 2be7999878
commit a27a82c196

View File

@ -92,7 +92,7 @@ module Hbc
def self.render_staging_location(path) def self.render_staging_location(path)
path = Pathname.new(user_tilde(path.to_s)) path = Pathname.new(user_tilde(path.to_s))
if !path.exist? if !path.exist?
"#{path} #{error_string "error: path does not exist"}}" "#{path} #{error_string "error: path does not exist"}"
elsif !path.writable? elsif !path.writable?
"#{path} #{error_string "error: not writable by current user"}" "#{path} #{error_string "error: not writable by current user"}"
else else