Skip to content

Commit

Permalink
chore: tweak dotnet PE name extraction logic
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed Nov 29, 2023
1 parent a42f40b commit 79ae4fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ func findName(versionResources map[string]string) string {

for _, field := range nameFields {
value := strings.TrimSpace(versionResources[field])
value = strings.TrimSpace(strings.Trim(value, `"`)) // some names are double-quoted
if value == "" {
continue
}
Expand Down

0 comments on commit 79ae4fb

Please sign in to comment.