mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Add mkdirs check
This commit is contained in:
@@ -16,7 +16,7 @@ private class MethodFileSystemFileCreation extends Method {
|
||||
MethodFileSystemFileCreation() {
|
||||
getDeclaringType() instanceof TypeFile and
|
||||
(
|
||||
hasName("mkdir") or
|
||||
hasName(["mkdir", "mkdirs"]) or
|
||||
hasName("createNewFile")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user