Skip to content

Commit

Permalink
chore: remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Apr 15, 2024
1 parent a4c4219 commit 60eb542
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/lib/formatters/remediation-based-format-issues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export function formatIssuesWithRemediation(
note: vuln.note,
legalInstructions: vuln.legalInstructionsArray,
paths: vuln.list.map((v) => v.from),
severityReason: vuln.severityReason,
appliedPolicyRules: vuln.appliedPolicyRules,
};

Expand Down
1 change: 0 additions & 1 deletion src/lib/snyk-test/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export interface GroupedVuln {
isFixable: boolean;
fixedIn: string[];
legalInstructionsArray?: LegalInstruction[];
severityReason?: string;
appliedPolicyRules?: AppliedPolicyRules;
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
"issues": {
"SNYK-JS-CXCT-535487": {
"issueId": "SNYK-JS-CXCT-535487",
"fixInfo": { "isPatchable": false, "upgradePaths": [] },
"appliedPolicyRules": {
"annotation": {
"value": "This is a test user note",
"reason": "This vulnerability is a papercut and can be ignored"
}
}
"fixInfo": { "isPatchable": false, "upgradePaths": [] }
}
}
}
Expand Down Expand Up @@ -88,7 +82,7 @@
],
"semver": { "vulnerable": ["*"] },
"severity": "high",
"title": "Malicious 󠅮󠅰󠅭Package",
"title": "Malicious 󠅮󠅰󠅭Package for you",
"isPinnable": false,
"from": ["no-fix-app@1.0.0", "cxct@0.0.1-security"],
"upgradePath": [],
Expand Down

0 comments on commit 60eb542

Please sign in to comment.