Skip to content

Commit

Permalink
add gosec linter skip
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo committed Dec 23, 2022
1 parent 50d7a3a commit d1a3762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,7 @@ func doBootstrapSQLFile(s Session) {
return
}
logutil.BgLogger().Info("executing -initialize-sql-file", zap.String("file", sqlFile))
b, err := ioutil.ReadFile(sqlFile)
b, err := ioutil.ReadFile(sqlFile) //nolint:gosec
if err != nil {
logutil.BgLogger().Fatal("unable to read InitializeSQLFile", zap.Error(err))
}
Expand Down

0 comments on commit d1a3762

Please sign in to comment.