Skip to content

Commit

Permalink
Merge pull request #80 from edvilme/edvilme-error-typo
Browse files Browse the repository at this point in the history
SolutionModel: Fix typo in error
  • Loading branch information
richardstanton authored Nov 21, 2024
2 parents eb339e2 + 2d938d7 commit 47f9b31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public SolutionProjectModel AddProject(string filePath, string? projectTypeName
Guid projectTypeId =
Guid.TryParse(projectTypeName, out Guid projectTypeGuid) ? projectTypeGuid :
this.ProjectTypeTable.GetProjectTypeId(projectTypeName, Path.GetExtension(filePath.AsSpan())) ??
throw new SolutionArgumentException(string.Format(Errors.InvalidProjectTypeReference_Args1, projectTypeName), nameof(projectTypeName), SolutionErrorType.InvalidProjectReference);
throw new SolutionArgumentException(string.Format(Errors.InvalidProjectTypeReference_Args1, projectTypeName), nameof(projectTypeName), SolutionErrorType.InvalidProjectTypeReference);

return this.AddProject(filePath, projectTypeName ?? string.Empty, projectTypeId, folder);
}
Expand Down

0 comments on commit 47f9b31

Please sign in to comment.