Skip to content

Commit

Permalink
Added filename
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemkosk committed Jan 29, 2024
1 parent a3653a6 commit 0495e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handler/envHandler.ts
Expand Up @@ -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)

Expand Down

0 comments on commit 0495e02

Please sign in to comment.