From: Jérôme Benoit Date: Mon, 27 Nov 2023 17:52:26 +0000 (+0100) Subject: refactor: cleanup husky install implementation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8a0bce5b42beb737e3890db4b4b6fa6da6072fd7;p=benchmarks-js.git refactor: cleanup husky install implementation Signed-off-by: Jérôme Benoit --- diff --git a/prepare.mjs b/prepare.mjs index 768ba5b..d6441fb 100644 --- a/prepare.mjs +++ b/prepare.mjs @@ -7,7 +7,5 @@ if (isCIEnvironment === false) { .then(({ install }) => { return install() }) - .catch(err => { - console.error(err) - }) + .catch(console.error) }