diff --git a/.gitignore b/.gitignore index 162b9c4d..0c56f1e4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ test_app/.embark/development/ test_app/config/production/password test_app/node_modules/ test_app/chains.json -.idea \ No newline at end of file +.idea +.eslintrc.json diff --git a/lib/contracts/code_generator.js b/lib/contracts/code_generator.js index f1dee354..584d97d3 100644 --- a/lib/contracts/code_generator.js +++ b/lib/contracts/code_generator.js @@ -11,7 +11,7 @@ const Templates = { web3_connector: require('./code_templates/web3-connector.js.ejs'), do_when_loaded: require('./code_templates/do-when-loaded.js.ejs'), exec_when_env_loaded: require('./code_templates/exec-when-env-loaded.js.ejs') -} +}; class CodeGenerator { constructor(options) {