aboutsummaryrefslogtreecommitdiff
path: root/cmd/kdev/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/kdev/main.go')
-rw-r--r--cmd/kdev/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kdev/main.go b/cmd/kdev/main.go
index 8163041..c884896 100644
--- a/cmd/kdev/main.go
+++ b/cmd/kdev/main.go
@@ -135,7 +135,7 @@ func isBinaryFile(absolutePath, relativePath string) bool {
return true
}
- file, err := os.Open(absolutePath)
+ file, err := os.Open(absolutePath) // #nosec G304 Repo walking
kcore.Expect(err, "failed to open file")
defer file.Close()