mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
fix
This commit is contained in:
parent
08c495311d
commit
e2fe6e2639
1 changed files with 1 additions and 6 deletions
|
@ -290,12 +290,7 @@ func HandleFile(
|
|||
ctx.Logger().Error(err, "error getting file size")
|
||||
}
|
||||
|
||||
ctx = logContext.WithValues(
|
||||
ctx,
|
||||
"mime", rdr.mime.String(),
|
||||
"format", rdr.format.Name(),
|
||||
"size_bytes", size,
|
||||
)
|
||||
ctx = logContext.WithValues(ctx, "mime", rdr.mime.String(), "size_bytes", size)
|
||||
|
||||
mimeT := mimeType(rdr.mime.String())
|
||||
config := newFileHandlingConfig(options...)
|
||||
|
|
Loading…
Reference in a new issue