Skip to content

Commit fcd2bd6

Browse files
committed
fabic.qll: remove test predicate and apply review changes
1 parent c7adb32 commit fcd2bd6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/ql/lib/semmle/python/frameworks/Fabric.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module FabricV2 {
113113
* library.
114114
*/
115115
abstract class Instance extends API::Node {
116-
override string toString() { result = "a fabric connection instance" }
116+
override string toString() { result = this.(API::Node).toString() }
117117
}
118118

119119
/**
@@ -188,9 +188,6 @@ module FabricV2 {
188188
module Tasks {
189189
/** Gets a reference to the `fabric.tasks.task` decorator. */
190190
API::Node task() { result in [tasks().getMember("task"), fabric().getMember("task")] }
191-
192-
/** Gets a reference to the `fabric.tasks.task` decorator. */
193-
API::Node test() { result in [tasks().getMember("task"), fabric().getMember("task")] }
194191
}
195192

196193
class FabricTaskFirstParamConnectionInstance extends Fabric::Connection::ConnectionClass::Instance

0 commit comments

Comments
 (0)