Skip to content

Commit 15c897a

Browse files
committed
Fix formatting
1 parent d3ddcb1 commit 15c897a

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

build.cake

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,28 @@ Task("Build")
3838

3939
Task("Test")
4040
.Description("Runs unit tests and outputs test results to the artefacts directory.")
41-
.DoesForEach(GetFiles("./Tests/**/*.csproj"), project =>
42-
{
43-
DotNetTest(
44-
project.ToString(),
45-
new DotNetTestSettings()
46-
{
47-
Blame = true,
48-
Collectors = new string[] { "Code Coverage", "XPlat Code Coverage" },
49-
Configuration = configuration,
50-
Loggers = new string[]
41+
.DoesForEach(
42+
GetFiles("./Tests/**/*.csproj"),
43+
project =>
44+
{
45+
DotNetTest(
46+
project.ToString(),
47+
new DotNetTestSettings()
5148
{
52-
$"trx;LogFileName={project.GetFilenameWithoutExtension()}.trx",
53-
$"junit;LogFileName={project.GetFilenameWithoutExtension()}.xml",
54-
$"html;LogFileName={project.GetFilenameWithoutExtension()}.html",
55-
},
56-
NoBuild = true,
57-
NoRestore = true,
58-
ResultsDirectory = artefactsDirectory,
59-
});
60-
});
49+
Blame = true,
50+
Collectors = new string[] { "Code Coverage", "XPlat Code Coverage" },
51+
Configuration = configuration,
52+
Loggers = new string[]
53+
{
54+
$"trx;LogFileName={project.GetFilenameWithoutExtension()}.trx",
55+
$"junit;LogFileName={project.GetFilenameWithoutExtension()}.xml",
56+
$"html;LogFileName={project.GetFilenameWithoutExtension()}.html",
57+
},
58+
NoBuild = true,
59+
NoRestore = true,
60+
ResultsDirectory = artefactsDirectory,
61+
});
62+
});
6163

6264
Task("Pack")
6365
.Description("Creates NuGet packages and outputs them to the artefacts directory.")

0 commit comments

Comments
 (0)