Fix binary file output and eslint warnings

This commit is contained in:
toby 2017-03-15 12:33:38 -04:00
parent db261be707
commit f2f3bdc923
2 changed files with 7 additions and 7 deletions

View file

@ -297,7 +297,7 @@ var PGP = {
}, { }, {
fileName: "msg.sig", fileName: "msg.sig",
size: rawSignatureBytes.length, size: rawSignatureBytes.length,
contents: "Binary file", contents: openpgp.util.Uint8Array2str(rawSignatureBytes),
bytes: rawSignatureBytes, bytes: rawSignatureBytes,
}]; }];

View file

@ -443,5 +443,5 @@ PGP_TEST_KEY_PAIRS.forEach(function(keyPair) {
], ],
}; };
}) })
) );
}); });