cleanunicorn / mythos

CLI client for the MythX API
https://mythx.io/
20 stars 6 forks source link

Add severity to output #15

Closed cleanunicorn closed 5 years ago

quezak commented 5 years ago

Since this is still fresh I won't create a separate issue -- I believe you made a typo:

out += `Severity: ${issue.Severity}\n`  // should be issue.severity

The output is:

Title: Integer Overflow and Underflow
Severity: undefined
...

But the raw json contains:

                "severity": "High",
                "swcID": "SWC-101",
                "swcTitle": "Integer Overflow and Underflow"
cleanunicorn commented 5 years ago

@quezak Thanks.