Commit 17523a6d authored by Eric Betts's avatar Eric Betts

correct where .env is written to

parent 0ae5d4ab
const fs = require('fs');
const keys = Object.keys(process.env);
const kvs = => `${key}=${process.env[key]}`);
fs.writeFileSync('.env', kvs.join('\n'));
fs.writeFileSync('functions/.env', kvs.join('\n'));
console.log(`Wrote ${kvs.length} envs`);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment