SODEFA-GmbH-Co-KG / gitenvs

Save your environment variables in git – encrypted!
MIT License
3 stars 1 forks source link

Newline #8

Closed patlux closed 1 year ago

patlux commented 1 year ago

Problem

$ bat development.passphrase                                         
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: development.passphrase
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ IJMPEuKpXe46T8F2mFejMIq4Fq7zv/Bsnvr6ZeL/C0n7u73R8k5RIwDU/J2pHw5oTrp+msMXPj/CiwMZk6AtrqlkCypzCVbuh4R+A1BrB3jZW9GRSPN4TVb
       │ qQ3ACyxJT16KYre05HliVtRBoi5b5RZlten+k1dsuw5En5WzoQ5BL4HPzfW5ekq4nsP5ITJgHeMAs0DYGmJA2Jf1egMC3kGlRoS2Gj/NIyBTycr4xEUcbhT
       │ ayK4Ayxft21/FplS951i37Xk9U93+ROevBaqQa3Xp+/l44oCoQnlnj46+rUf6DhcxKr8bHvmMTAbsetyd2bFWQXpxpu0Fnr5LvNI5m2w==
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

With the following change to node_modules/@sodefa/gitenvs/dist/commands/createEnvFiles.js:

  const passphrase = await getPassphrase({ ...options, stage })
  console.log({ passphrase })

CleanShot 2022-12-19 at 12 32 42

patlux commented 1 year ago

Habs gefixed. Brauche nur Schreibrechte um ein Pull Request zu stellen