Skip to content

Commit

Permalink
Merge pull request #242 from ishiDACo/hotfix/235-cwe-xxx
Browse files Browse the repository at this point in the history
[#235] Removed TODO comment
  • Loading branch information
ishiDACo authored Sep 10, 2021
2 parents 4288f16 + 9090edf commit 561d8cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dist/js/vulsrepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1960,8 +1960,6 @@ const createDetailData = function(cveID) {
if (tmpCve.cveContents !== undefined && tmpCve.cveContents[i_val] !== undefined) {
targetObj.cveContents[i_val] = tmpCve.cveContents[i_val];
// Make CWE information
// TODO CWE-nn->CWE-nn
// TODO (CWE-nn|CWE-nn)
var cveContents = getCveContents(targetObj.cveContents[i_val]);
var cweIds = getCweIds(cveContents);
if (cweIds.size > 0) {
Expand Down Expand Up @@ -2380,8 +2378,6 @@ const displayDetail = function(cveID) {
// ---CweID---
let getCweIDInfo = function(cveContents, target) {
if (cveContents[target] !== undefined) {
// TODO CWE-nn->CWE-nn
// TODO (CWE-nn|CWE-nn)
var cveContents = getCveContents(cveContents[target]);
var cweIds = getCweIds(cveContents);
if (cweIds.size > 0) {
Expand Down

0 comments on commit 561d8cc

Please sign in to comment.