Rendering: Fix Windows plugin signature check (#76123)

* Rendering: Fix Windows plugin signature check

* apply review feedback
This commit is contained in:
Agnès Toulet 2023-10-06 15:48:29 +02:00 committed by GitHub
parent a2b71fd149
commit 46c1c03183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,7 @@ func (s *Signature) Calculate(ctx context.Context, src plugins.PluginSource, plu
f = toSlash(f)
// Ignoring unsigned Chromium debug.log so it doesn't invalidate the signature for Renderer plugin running on Windows
if runningWindows && plugin.JSONData.Type == plugins.TypeRenderer && f == "chrome-win/debug.log" {
if runningWindows && plugin.JSONData.Type == plugins.TypeRenderer && filepath.Base(f) == "debug.log" {
continue
}