Skip to content

Commit f46c107

Browse files
committed
fixes
1 parent 5e05023 commit f46c107

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

source/Nuke.Common/Tools/ClangSharpPInvokeGenerator/ClangSharpPInvokeGenerator.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
"help": "A file to parse and generate bindings for."
4242
},
4343
{
44-
"name": "FileDirectory",
44+
"name": "FileDirectories",
4545
"type": "List<string>",
4646
"format": "--file-directory {value}",
4747
"help": "The base path for files to parse."
4848
},
4949
{
50-
"name": "HeaderFile",
50+
"name": "HeaderFiles",
5151
"type": "List<string>",
5252
"format": "--headerFile {value}",
5353
"help": "A file which contains the header to prefix every generated file with."

source/Nuke.Tooling/ProcessExtensions.cs

-2
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public static IProcess AssertNonNegativeExitCode(
4848
process.AssertWaitForExit();
4949

5050
if (process.ExitCode < 0)
51-
{
5251
throw new ProcessException(process);
53-
}
5452

5553
return process;
5654
}

0 commit comments

Comments
 (0)