Skip to content

Commit

Permalink
fix: removed redundant output when market scan is used with silent
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha87 committed Feb 15, 2024
1 parent c76153b commit 6640167
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/market/market.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ marketCommand
await marketService.run(workload, allocation);

setTimeout(async () => {
console.log("Scan finished, here are the results");
console.log("Your market query was matched with %d proposals", proposals.length);
if (!options.silent) {
console.log("Scan finished, here are the results");
console.log("Your market query was matched with %d proposals", proposals.length);
}

const displayProposals = proposals.map((p) => {
return {
Expand Down

0 comments on commit 6640167

Please sign in to comment.