From 0495e0249c237129d46b6158f4f975bad50938c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erdem=20K=C3=B6=C5=9Fk?= Date: Mon, 29 Jan 2024 22:07:22 +0300 Subject: [PATCH] Added filename --- lib/handler/envHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handler/envHandler.ts b/lib/handler/envHandler.ts index 8443dda..2521eb7 100644 --- a/lib/handler/envHandler.ts +++ b/lib/handler/envHandler.ts @@ -348,7 +348,7 @@ export async function generateEnvExampleFile (filename: string = '.env-example') const envValues = await getValuesInEnv({ targetPath: path.join(currentDirectory, '.env') }) - const result = envValues.data.map(innerArr => innerArr[0] !== '' ? innerArr[0] + '=' : '').join('\n') + const result = envValues.data.map(innerArr => innerArr[0] !== '' ? innerArr[0] + '=' : '').join('\n') await writeFile(path.join(currentDirectory, filename), result)