diff --git a/mustache/templates/common.js b/mustache/templates/common.js deleted file mode 100644 index 8cc5679..0000000 --- a/mustache/templates/common.js +++ /dev/null @@ -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, -};