From 3f446bc76e673ceea4c5fac045a6726b413c8e1f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 8 Dec 2022 11:22:39 +0000 Subject: [PATCH] Use three-argument `hasQualifiedName` --- go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql b/go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql index dfece4ed024..a65f8df3adc 100644 --- a/go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql +++ b/go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql @@ -43,14 +43,14 @@ class OpenFileFun extends Function { * The `os.File.Close` function. */ class CloseFileFun extends Method { - CloseFileFun() { this.hasQualifiedName("os.File", "Close") } + CloseFileFun() { this.hasQualifiedName("os", "File", "Close") } } /** * The `os.File.Sync` function. */ class SyncFileFun extends Method { - SyncFileFun() { this.hasQualifiedName("os.File", "Sync") } + SyncFileFun() { this.hasQualifiedName("os", "File", "Sync") } } /**