From 271ac2e9a5d0e4086fb9f3e97dfd0fea3bc48d9d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 18 Jul 2014 00:47:24 -0700 Subject: [PATCH] minor: fix typo. --- lib/PayPro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PayPro.js b/lib/PayPro.js index 13f79c6..d547203 100644 --- a/lib/PayPro.js +++ b/lib/PayPro.js @@ -298,7 +298,7 @@ PayPro.prototype.sinVerify = function() { // Helpers function PEMtoDER(pem) { - pem = pem.replace(/^-----END [^-]+-----$/gmi/, ''); + pem = pem.replace(/^-----END [^-]+-----$/gmi, ''); var parts = pem.split(/-----BEGIN [^-]+-----/); return parts.map(function(part) { part = part.replace(/\s+/g, '');