Skip to content

Commit

Permalink
Fixed last warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
samsmithnz committed Jul 30, 2022
1 parent 8fd8980 commit 798dab8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/DotnetCensus.Tests/DotNetProjectScanningTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public void CountSampleFrameworksTest()
Assert.IsNotNull(project1);
Assert.AreEqual(project1.Framework, "netcoreapp3.1");
Assert.AreEqual(project1.Language, "csharp");
Assert.IsTrue(project1.Path.Length > 0);
Assert.IsTrue(project1.FileName.Length > 0);
Assert.IsTrue(project1.Path?.Length > 0);
Assert.IsTrue(project1.FileName?.Length > 0);
Assert.IsTrue(project1.Color?.Length > 0);
}
}
4 changes: 2 additions & 2 deletions src/DotnetCensus/Models/Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public class Project
// Path = path;
//}

public string FileName { get; set; }
public string Path { get; set; }
public string? FileName { get; set; }
public string? Path { get; set; }
//public string? Content { get; set; }
//public string? Family { get; set; }
public string? Framework { get; set; }
Expand Down

0 comments on commit 798dab8

Please sign in to comment.