mirror of https://github.com/embarklabs/embark.git
put compiling message only after checking for binary
This commit is contained in:
parent
c97b0332b7
commit
2d67061fe3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue