fix: Update SWC registry URL in analysis output
This commit is contained in:
parent
0d59ef9587
commit
27e8288fbf
|
@ -42,9 +42,9 @@ Retrieving Hack analysis results...
|
||||||
Rendering Bank analysis report...
|
Rendering Bank analysis report...
|
||||||
|
|
||||||
Bank.sol
|
Bank.sol
|
||||||
18:12 error persistent state read after call https://swcregistry.io/SWC-registry/docs/SWC-107
|
18:12 error persistent state read after call https://swcregistry.io/docs/SWC-107
|
||||||
14:28 warning A call to a user-supplied address is executed https://swcregistry.io/SWC-registry/docs/SWC-107
|
14:28 warning A call to a user-supplied address is executed https://swcregistry.io/docs/SWC-107
|
||||||
1:0 warning A floating pragma is set https://swcregistry.io/SWC-registry/docs/SWC-103
|
1:0 warning A floating pragma is set https://swcregistry.io/docs/SWC-103
|
||||||
|
|
||||||
<unknown>
|
<unknown>
|
||||||
-1:0 warning You are running MythX in free mode. Analysis depth is limited in this mode so some issues might not be detected. Upgrade to a Dev or Pro plan to unlock in-depth analysis and higher rate limits. https://mythx.io/plans N/A
|
-1:0 warning You are running MythX in free mode. Analysis depth is limited in this mode so some issues might not be detected. Upgrade to a Dev or Pro plan to unlock in-depth analysis and higher rate limits. https://mythx.io/plans N/A
|
||||||
|
|
|
@ -145,7 +145,7 @@ export default class ReportController extends Controller {
|
||||||
*/
|
*/
|
||||||
private issue2EsLint(issue: any, sourceCode: string, locations: any) {
|
private issue2EsLint(issue: any, sourceCode: string, locations: any) {
|
||||||
const swcLink = issue.swcID
|
const swcLink = issue.swcID
|
||||||
? 'https://swcregistry.io/SWC-registry/docs/' + issue.swcID
|
? 'https://swcregistry.io/docs/' + issue.swcID
|
||||||
: 'N/A';
|
: 'N/A';
|
||||||
|
|
||||||
const esIssue = {
|
const esIssue = {
|
||||||
|
|
Loading…
Reference in New Issue