You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/11/01 21:04:04 UTC

[whimsy] branch master updated: fix typo

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 <ru...@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