Attempt to fix mkdir of cache file directories
@@ -171,7 +171,7 @@ public class VulnerabilityCacheProcessorPlugin extends Plugin {
if(!outputFile.getParentFile().exists()) {
logger.info("Creating directory for the cache file: " + outputFile.getParentFile().toString());
- var dir = outputFile.getParentFile().mkdirs();
+ var dir = outputFile.getParentFile().mkdir();
logger.info("Result: " + dir);
}
if(!outputFile.exists()) outputFile.createNewFile();
