From 0427a8c9b02223d8ccf0b399ea0a17407e678925 Mon Sep 17 00:00:00 2001 From: Simon Thompson Date: Mon, 9 Nov 2015 14:30:58 +1300 Subject: [PATCH] fix reading of gpgRecipientsFile --- lib/gpg.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gpg.coffee b/lib/gpg.coffee index 20d8564..b2ad637 100644 --- a/lib/gpg.coffee +++ b/lib/gpg.coffee @@ -73,7 +73,7 @@ gpgEncrypt = (text, index, callback, stderr_cb, exit_cb) -> # try to read recipients file and ignore errors fileRecipients = '' - try fileRecipients = fs.readFileSync recipientsFile, 'utf8' + try fileRecipients = fs.readFileSync gpgRecipientsFile, 'utf8' catch ENOENT () ->