Skip to content

Commit 3f446bc

Browse files
committed
Use three-argument hasQualifiedName
1 parent 07041bb commit 3f446bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ class OpenFileFun extends Function {
4343
* The `os.File.Close` function.
4444
*/
4545
class CloseFileFun extends Method {
46-
CloseFileFun() { this.hasQualifiedName("os.File", "Close") }
46+
CloseFileFun() { this.hasQualifiedName("os", "File", "Close") }
4747
}
4848

4949
/**
5050
* The `os.File.Sync` function.
5151
*/
5252
class SyncFileFun extends Method {
53-
SyncFileFun() { this.hasQualifiedName("os.File", "Sync") }
53+
SyncFileFun() { this.hasQualifiedName("os", "File", "Sync") }
5454
}
5555

5656
/**

0 commit comments

Comments
 (0)