mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Python: Remove accidental "foo" snippet
This commit is contained in:
20
python/.vscode/ql.code-snippets
vendored
20
python/.vscode/ql.code-snippets
vendored
@@ -222,26 +222,6 @@
|
|||||||
],
|
],
|
||||||
"description": "Type tracking class (select full class path before inserting)",
|
"description": "Type tracking class (select full class path before inserting)",
|
||||||
},
|
},
|
||||||
"foo": {
|
|
||||||
"scope": "ql",
|
|
||||||
"prefix": "foo",
|
|
||||||
"body": [
|
|
||||||
" /**",
|
|
||||||
" * Taint propagation for `$1`.",
|
|
||||||
" */",
|
|
||||||
" private class InstanceTaintSteps extends InstanceTaintStepsHelper {",
|
|
||||||
" InstanceTaintSteps() { this = \"$1\" }",
|
|
||||||
"",
|
|
||||||
" override DataFlow::Node getInstance() { result = instance() }",
|
|
||||||
"",
|
|
||||||
" override string getAttributeName() { none() }",
|
|
||||||
"",
|
|
||||||
" override string getMethodName() { none() }",
|
|
||||||
"",
|
|
||||||
" override string getAsyncMethodName() { none() }",
|
|
||||||
" }",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
"API graph .getMember chain": {
|
"API graph .getMember chain": {
|
||||||
"scope": "ql",
|
"scope": "ql",
|
||||||
"prefix": "api graph .getMember chain",
|
"prefix": "api graph .getMember chain",
|
||||||
|
|||||||
Reference in New Issue
Block a user