mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Python: Minor cleanup to snippets
As pointed out in review, we don't need this override any more!
This commit is contained in:
2
python/.vscode/ql.code-snippets
vendored
2
python/.vscode/ql.code-snippets
vendored
@@ -180,8 +180,6 @@
|
|||||||
"",
|
"",
|
||||||
" /** A direct instantiation of `${TM_SELECTED_TEXT}`. */",
|
" /** A direct instantiation of `${TM_SELECTED_TEXT}`. */",
|
||||||
" private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode {",
|
" private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode {",
|
||||||
" override CallNode node;",
|
|
||||||
"",
|
|
||||||
" ClassInstantiation() { this = classRef().getACall() }",
|
" ClassInstantiation() { this = classRef().getACall() }",
|
||||||
" }",
|
" }",
|
||||||
"",
|
"",
|
||||||
|
|||||||
@@ -322,8 +322,6 @@ private module Django {
|
|||||||
|
|
||||||
/** A direct instantiation of `django.utils.datastructures.MultiValueDict`. */
|
/** A direct instantiation of `django.utils.datastructures.MultiValueDict`. */
|
||||||
private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode {
|
private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode {
|
||||||
override CallNode node;
|
|
||||||
|
|
||||||
ClassInstantiation() { this = classRef().getACall() }
|
ClassInstantiation() { this = classRef().getACall() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user