Skip to content

Commit 74ea883

Browse files
author
Simon Mollweide
committed
[chore] update dependencies and bump version
1 parent 8b4e922 commit 74ea883

4 files changed

Lines changed: 959 additions & 932 deletions

File tree

lib/SwaggerImport.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ SwaggerImport.prototype = extend(SwaggerImport.prototype, {
168168
_buildOptions: function () {
169169
var opt = this._options;
170170
var protocol = opt.protocol;
171+
172+
// eslint-disable-next-line
171173
if (/http$|https$/.test(protocol)) {
172174
protocol += ':';
173175
}

lib/controller/MockController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ MockController.prototype = extend(MockController.prototype, {
715715
pathSpl.forEach(function (pathItem, index) {
716716
var pathPatterItem = pathPatterSpl[index];
717717

718+
// eslint-disable-next-line
718719
if (/({)(.*)(})/.test(pathPatterItem)) {
719720
pathSpl[index] = pathPatterItem;
720721
}

0 commit comments

Comments
 (0)