Skip to content

Commit

Permalink
Fix running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-cpp committed Nov 7, 2023
1 parent 827fa3d commit 609cd54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tasks/TestLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class TestLinuxTask : FrostingTask<BuildContext>

public override void Run(BuildContext context)
{
foreach (var filePath in context.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down
2 changes: 1 addition & 1 deletion Tasks/TestMacOSTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public sealed class TestMacOSTask : FrostingTask<BuildContext>

public override void Run(BuildContext context)
{
foreach (var filePath in context.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down
2 changes: 1 addition & 1 deletion Tasks/TestWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public override void Run(BuildContext context)
var vswhere = new VSWhereLatest(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
var devcmdPath = vswhere.Latest(new VSWhereLatestSettings()).FullPath + @"\Common7\Tools\vsdevcmd.bat";

foreach (var filePath in context.GetFiles(context.ArtifactsDir))
foreach (var filePath in Directory.GetFiles(context.ArtifactsDir))
{
context.Information($"Checking: {filePath}");
context.StartProcess(
Expand Down

0 comments on commit 609cd54

Please sign in to comment.