Skip to content

Commit

Permalink
v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mittsh committed Jul 19, 2018
1 parent 3f4170e commit aea5761
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PostmanCollectionV2Importer.js
Expand Up @@ -14298,6 +14298,9 @@ methods.addConstraintsToDomain = function (domain, environment, api) {
* @returns {string} the trimmed string
*/
methods.removeDotsFromProtocol = function (protocol) {
if (!protocol) {
return null;
}
if (protocol[protocol.length - 1] === ':') {
return protocol.slice(0, protocol.length - 1);
}
Expand Down

0 comments on commit aea5761

Please sign in to comment.