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, '');