diff --git a/lib/modules/vyper/index.js b/lib/modules/vyper/index.js index 1d2da9b8..10a603de 100644 --- a/lib/modules/vyper/index.js +++ b/lib/modules/vyper/index.js @@ -35,15 +35,15 @@ class Vyper { if (!contractFiles || !contractFiles.length) { return cb(); } - self.logger.info(__("compiling Vyper contracts") + "..."); - + const vyper = shelljs.which('vyper'); if (!vyper) { self.logger.warn(__('%s is not installed on your machine', 'Vyper')); self.logger.info(__('You can install it by visiting: %s', 'https://vyper.readthedocs.io/en/latest/installing-vyper.html')); return cb(); } - + self.logger.info(__("compiling Vyper contracts") + "..."); + const compiled_object = {}; async.each(contractFiles, function (file, fileCb) {