From 6fe15d2b59dcdc3d39c94a2e1b9fbb14d5a0eeea Mon Sep 17 00:00:00 2001 From: Ernest Teluk Date: Tue, 29 Oct 2024 15:29:15 +0100 Subject: [PATCH] fix eslint errors --- src/lib/getTargetDir.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/getTargetDir.ts b/src/lib/getTargetDir.ts index 6a23f8d..c674882 100644 --- a/src/lib/getTargetDir.ts +++ b/src/lib/getTargetDir.ts @@ -1,3 +1,2 @@ -export const getTargetDir = (targetDir: string | undefined) => { - return targetDir?.trim().replace(/\/+$/g, ''); -}; +export const getTargetDir = (targetDir: string | undefined) => + targetDir?.trim().replace(/\/+$/g, '');