Merge pull request #2516 from Arcank/extraneous-brace

Remove extraneous }
This commit is contained in:
Markus Reiter 2017-04-21 14:13:09 +02:00 committed by GitHub
commit 12fe895749

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