Skip to content

Commit

Permalink
Fix for .net core 2.2 support in npm package
Browse files Browse the repository at this point in the history
Adding .net core 2.2 as default runtime
Adding 22 to supportedCoreVersions array
  • Loading branch information
MarcosMeli authored Dec 11, 2018
1 parent ee14690 commit bf1e696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NSwag.Npm/bin/nswag.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env node
"use strict";

var defaultCoreVersion = "21";
var supportedCoreVersions = ["10", "11", "20", "21"];
var defaultCoreVersion = "22";
var supportedCoreVersions = ["10", "11", "20", "21", "22"];

// Initialize
process.title = 'nswag';
Expand Down Expand Up @@ -67,4 +67,4 @@ if (hasFullDotNet && args.toLowerCase().indexOf("/runtime:win") != -1) {
c.execSync(defaultCmd, { stdio: [0, 1, 2] });
return;
});
}
}

0 comments on commit bf1e696

Please # to comment.