include .pyw and .h as supported extensions
@@ -54,7 +54,7 @@ public class VulnerabilityConsumer extends Plugin {
private String latestVulnJson = null;
private ObjectMapper objectMapper = new ObjectMapper();
private static DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
- private final static String[] extensions = new String[]{".java", ".py", ".c", ".cpp"};
+ private final static String[] extensions = new String[]{".java", ".py", ".pyw", ".c", ".cpp", ".h"};
private final Logger logger = LoggerFactory.getLogger(VulnerabilityConsumerExtension.class.getName());
@Override
