Skip to content

Commit

Permalink
Fix test project path resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
kekekeks committed Dec 20, 2021
1 parent 5043381 commit c5608b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nukebuild/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ await ObservablesForEventGenerator.ExtractEventsFromAssemblies(
void RunCoreTest(string projectName)
{
if(!projectName.EndsWith(".csproj"))
projectName = System.IO.Path.Combine(projectName, System.IO.Path.GetFileName(projectName)+".csproj");
projectName = Path.Combine("tests", projectName, System.IO.Path.GetFileName(projectName)+".csproj");
Information("Running tests from " + projectName);
XDocument xdoc;
using (var s = File.OpenRead(projectName))
Expand Down

0 comments on commit c5608b1

Please sign in to comment.