Skip to content

Commit 9187e52

Browse files
committed
fix compile error
1 parent fe17ae4 commit 9187e52

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build/Build.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Nuke.Common.Tools.DotNet;
1111
using Nuke.Common.Utilities.Collections;
1212
using static Nuke.Common.EnvironmentInfo;
13-
using static Nuke.Common.IO.FileSystemTasks;
1413
using static Nuke.Common.IO.PathConstruction;
1514
using static Nuke.Common.Tools.DotNet.DotNetTasks;
1615

@@ -65,9 +64,7 @@ class Build : NukeBuild
6564
.EnableNoRestore()
6665
.SetConfiguration(Configuration)
6766
.SetProjectFile(Solution)
68-
.SetProcessArgumentConfigurator(x => x
69-
.Add("-warnaserror")
70-
.Add("-warnnotaserror:CS0618,CS0612")));
67+
.SetProcessAdditionalArguments("-warnaserror", "-warnnotaserror:CS0618,CS0612"));
7168
});
7269

7370
Target Test => _ => _

0 commit comments

Comments
 (0)