Skip to content

Commit ec40ea8

Browse files
Update qldoc
1 parent b01b40b commit ec40ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Resources/FileNotAlwaysClosedQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class FileWrapperCall extends DataFlow::CallCfgNode {
5252

5353
/** A node where a file is closed. */
5454
abstract class FileClose extends DataFlow::CfgNode {
55-
/** Holds if this file close will occur if an exception is raised at `raises`. */
55+
/** Holds if this file close will occur if an exception is raised at `fileRaises`. */
5656
predicate guardsExceptions(DataFlow::CfgNode fileRaises) {
5757
// The close call occurs after an exception edge in the cfg (a catch or finally)
5858
bbReachableRefl(fileRaises.asCfgNode().getBasicBlock().getAnExceptionalSuccessor(),

0 commit comments

Comments
 (0)