whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: fix typo
Date Thu, 01 Nov 2018 21:04:04 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a5d0187  fix typo
a5d0187 is described below

commit a5d01878f09f58f19153574b87c7ac7ce5871b47
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Thu Nov 1 17:03:50 2018 -0400

    fix typo
---
 www/secretary/workbench/models/attachment.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/models/attachment.rb b/www/secretary/workbench/models/attachment.rb
index e860b7c..f5643ad 100644
--- a/www/secretary/workbench/models/attachment.rb
+++ b/www/secretary/workbench/models/attachment.rb
@@ -64,7 +64,7 @@ class Attachment
       img2pdf = File.expand_path('../img2pdf', __dir__.untaint).untaint
       system img2pdf, '--output', pdf.path, file.path
       file.unlink
-      raise "Failed to convert #{self.name} to PDF" unless File.sise? pdf.path
+      raise "Failed to convert #{self.name} to PDF" unless File.size? pdf.path
       return pdf
     end
 


Mime
View raw message