Skip to content

Commit

Permalink
chore: update license references
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Harrison committed Oct 27, 2020
1 parent e784627 commit 431cc4d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![BuildStatus](https://travis-ci.org/sendgrid/sendgrid-csharp.png?branch=main)](https://travis-ci.org/sendgrid/sendgrid-csharp)
[![NuGet](https://img.shields.io/nuget/v/SendGrid.svg)](https://www.nuget.org/packages/SendGrid)
[![Email Notifications Badge](https://dx.sendgrid.com/badge/csharp)](https://dx.sendgrid.com/newsletter/csharp)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/sendgrid-csharp.svg)](https://github.com/sendgrid/sendgrid-csharp/graphs/contributors)
[![Open Source Helpers](https://www.codetriage.com/sendgrid/sendgrid-csharp/badges/users.svg)](https://www.codetriage.com/sendgrid/sendgrid-csharp)
Expand Down Expand Up @@ -277,4 +277,4 @@ If you need help installing or using the library, please check the [Twilio SendG
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!

# License
[The MIT License (MIT)](LICENSE.md)
[The MIT License (MIT)](LICENSE)
2 changes: 1 addition & 1 deletion SendGrid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
Dockerfile = Dockerfile
LICENSE.md = LICENSE.md
LICENSE = LICENSE
Makefile = Makefile
README.md = README.md
TROUBLESHOOTING.md = TROUBLESHOOTING.md
Expand Down
2 changes: 1 addition & 1 deletion tests/SendGrid.Tests/LicenseTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class LicenseTests
public void ShouldHaveCurrentYearInLicense()
{
var directoryInfo = new DirectoryInfo(Directory.GetCurrentDirectory());
var line = File.ReadLines(Path.Combine(directoryInfo.Parent.Parent.Parent.Parent.Parent.FullName, "LICENSE.md")).Skip(2).Take(1).First();
var line = File.ReadLines(Path.Combine(directoryInfo.Parent.Parent.Parent.Parent.Parent.FullName, "LICENSE")).Skip(2).Take(1).First();
Assert.Contains(DateTime.Now.Year.ToString(), line);
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/SendGrid.Tests/RequiredFilesExistTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public void checkIssuesTemplateExists()
Assert.True(File.Exists("./ISSUE_TEMPLATE.md"));
}

// ./LICENSE.md
// ./LICENSE
public void checkLicenseExists()
{
Assert.True(File.Exists("./LICENSE.md"));
Assert.True(File.Exists("./LICENSE"));
}

// ./PULL_REQUEST_TEMPLATE.md
Expand Down

0 comments on commit 431cc4d

Please sign in to comment.