UNPKG

omnipay-savings-sdk

Version:

Omnipay Savings SDK

13 lines (8 loc) 352 B
#!/bin/node const fs = require('fs'); // obtain environment string passed to the code script const environment = process.argv[2]; // read the content of the json file const envFileContent = require(`../envs/${environment}.json`); // copy the json inside the env.json file fs.writeFileSync('env.json', JSON.stringify(envFileContent, undefined, 2));