chore: cleanup redundant code (#2791)

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guangwu
2024-04-19 12:12:48 -04:00
committed by GitHub
parent b26b38d6c5
commit fe4819bc08
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -146,9 +146,6 @@ func (s License) Merge(l License) (*License, error) {
if err != nil {
return nil, err
}
if err != nil {
return nil, err
}
if sHash != lHash {
return nil, fmt.Errorf("cannot merge licenses with different hash")
}