From aa78d71de6e75a7324ee714906e0c98b822d02d2 Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Wed, 17 Mar 2021 11:57:02 -0400 Subject: [PATCH] Offer additional logging when key doesn't match regex --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 5243e61..5871651 100644 --- a/index.js +++ b/index.js @@ -53,6 +53,7 @@ try { const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/); if (!parts) { + console.log(`WARN: key '{key}' does not match the appropriate format; skipping git configuration`); return; }