Skip to content

Commit

Permalink
xMerge branch 'master' of https://github.com/erdemkosk/envolve
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemkosk committed Jan 29, 2024
2 parents 826f3d9 + 6e5b827 commit a3653a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .env-example

This file was deleted.

2 changes: 1 addition & 1 deletion lib/handler/envHandler.ts
Original file line number Diff line number Diff line change
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] + '=').join('\n')
const result = envValues.data.map(innerArr => innerArr[0] !== '' ? innerArr[0] + '=' : '').join('\n')

await writeFile(path.join(currentDirectory, filename), result)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3653a6

Please sign in to comment.