From 16aae667561dff765e602c7396e3045181396c82 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 7 Aug 2018 16:21:01 -0400 Subject: [PATCH] hide assuming when silent --- lib/contracts/contracts.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js index fced60d9..26606013 100644 --- a/lib/contracts/contracts.js +++ b/lib/contracts/contracts.js @@ -145,7 +145,12 @@ class ContractsManager { } 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; } }