We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d8a4a commit 2a5ca6eCopy full SHA for 2a5ca6e
src/NSwag.Npm/bin/nswag.js
@@ -75,6 +75,9 @@ if (runtimeIndices.length > 1) {
75
console.error("Error: Multiple /runtime:* arguments detected. Please specify only one. Maybe remove the legacy --core argument?");
76
process.exit(1);
77
}
78
+else if (runtimeIndices.length === 1) {
79
+ args.splice(runtimeIndices[0], 1);
80
+}
81
82
if (runtimeValue) {
83
if (runtimeValue.toLowerCase() === "netcore") {
0 commit comments