File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ abstract class FileClose extends DataFlow::CfgNode {
59
59
// The exception is after the close call.
60
60
// A full cfg reachability check is not in general feasible for performance, so we approximate it with:
61
61
// - A basic block reachability check (here) that works if the expression and close call are in different basic blocks
62
- // - A check (in the `WithStatement` override of `gaurdsExceptions `) for the case where the exception call
62
+ // - A check (in the `WithStatement` override of `guardsExceptions `) for the case where the exception call
63
63
// is lexically contained in the body of a `with` statement that closes the file.
64
64
// This may cause FPs in a case such as:
65
65
// f.close()
You can’t perform that action at this time.
0 commit comments