hide assuming when silent

This commit is contained in:
Jonathan Rainville 2018-08-07 16:21:01 -04:00 committed by Iuri Matias
parent 5125cb06f7
commit 16aae66756
1 changed files with 6 additions and 1 deletions

View File

@ -145,7 +145,12 @@ class ContractsManager {
} }
if (contract.code === "") { if (contract.code === "") {
self.logger.info(__("assuming %s to be an interface", className)); const message = __("assuming %s to be an interface", className);
if (contract.silent) {
self.logger.trace(message);
} else {
self.logger.info(message);
}
contract.deploy = false; contract.deploy = false;
} }
} }