From 0dd60f0c07d47a78b0c30a5c54cdce3ce9bbe8fe Mon Sep 17 00:00:00 2001 From: Albert Hernandez Date: Sun, 24 Nov 2024 11:43:27 +0100 Subject: [PATCH] fix: verify if pnpm works fine --- src/is-positive-number/is-positive-number.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/is-positive-number/is-positive-number.ts b/src/is-positive-number/is-positive-number.ts index 550bb5b..1aaef4c 100644 --- a/src/is-positive-number/is-positive-number.ts +++ b/src/is-positive-number/is-positive-number.ts @@ -1,4 +1,3 @@ export const isPositiveNumber = (value: number): boolean => { - const res = Math.sign(value) === 1; - return res; + return Math.sign(value) === 1; };