diff --git a/checks/fileparser/csproj_parser.go b/checks/fileparser/csproj_parser.go index ca1fbb0fac2..227e86e3e12 100644 --- a/checks/fileparser/csproj_parser.go +++ b/checks/fileparser/csproj_parser.go @@ -33,7 +33,7 @@ func IsRestoreLockedModeEnabled(content []byte) (error, bool) { err := xml.Unmarshal(content, &project) if err != nil { - return ErrInvalidCsProjFile, false + return errInvalidCsProjFile, false } for _, propertyGroup := range project.PropertyGroups {