fix: remove common js

This commit is contained in:
nikdementev 2021-06-10 12:16:52 +03:00 committed by 0xZick 地方分権化
parent 9b2116f783
commit d4b1ecbcb1

@ -1,17 +0,0 @@
const createStartBlock = (blocks, env) => {
if (env === 'test') {
return blocks.exchanger
? blocks.exchanger.test
? blocks.exchanger.test
: blocks.exchanger.prod
: blocks.test || blocks.prod;
} else if (env === 'prod') {
return blocks.exchanger && blocks.exchanger.prod ? blocks.exchanger.prod : blocks.prod;
} else {
throw new Error('Invalid env for creating a yaml file');
}
};
module.exports = {
createStartBlock,
};