From 536313bc7bc4f1f552f598552d1bc4c53f75654f Mon Sep 17 00:00:00 2001 From: s-weigand Date: Mon, 5 Apr 2021 02:30:15 +0200 Subject: [PATCH] Replaced regex replace with a more appropriate one --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 36f6913..a2bca70 100644 --- a/index.js +++ b/index.js @@ -65,7 +65,7 @@ async function main() { This only has performance implications and won't change the result of your pre-commit tests. If this problem persists on your default branch, you can try to fix it by editing your '.pre-commit-config.yaml'. I.e. run 'pre-commit autoupdate' or simply add a blank line. - This will result in a different hash value and thus a different cache target.`.replace(/ +/g, '') + This will result in a different hash value and thus a different cache target.`.replace(/^ +/gm, '') ); } }