Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Fix --yaml option
Browse files Browse the repository at this point in the history
Wrong variable name is a remnant from older code.
  • Loading branch information
rocky committed Mar 6, 2019
1 parent 07fbebc commit d548587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.js
Expand Up @@ -339,7 +339,7 @@ const doAnalysis = async (client, config, contracts, contractNames = null, limit

function doReport(config, objects, errors, notAnalyzedContracts) {
if (config.yaml) {
config.logger.log(yaml.safeDump(issueGroup.issues));
config.logger.log(yaml.safeDump(objects));
} else if (config.json) {
config.logger.log(JSON.stringify(objects, null, 4));
} else {
Expand Down

0 comments on commit d548587

Please sign in to comment.