Skip to content

Commit 1bdac02

Browse files
committed
Update schemaUtils.js
1 parent 99e7f66 commit 1bdac02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/schemaUtils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4453,7 +4453,6 @@ module.exports = {
44534453
*/
44544454
handleExplicitServersPathToMatch: function (pathToMatch, schemaPath) {
44554455
let pathTMatchSlice,
4456-
fragment = '',
44574456
schemaPathArr = _.reject(schemaPath.split('/'), (segment) => {
44584457
return segment === '';
44594458
}),
@@ -4466,7 +4465,7 @@ module.exports = {
44664465
return pathToMatch;
44674466
}
44684467
pathTMatchSlice = pathToMatchArr.slice(pathToMatchArr.length - schemaPathSegments, pathToMatchArr.length);
4469-
return pathTMatchSlice.join('/') + fragment;
4468+
return pathTMatchSlice.join('/');
44704469
},
44714470

44724471
/**

0 commit comments

Comments
 (0)