mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
removed unwanted check for childCount and added childCount property in trie Node
This commit is contained in:
@@ -15,6 +15,9 @@ function Node (options) {
|
||||
// stores all direct folder descendants of this node
|
||||
this.children = {};
|
||||
|
||||
// number of folders in the sub-trie of this node
|
||||
this.childCount = options ? options.childCount : 0;
|
||||
|
||||
this.requests = []; // request will always be an array of objects
|
||||
|
||||
this.addChildren = function (child, value) {
|
||||
|
||||
Reference in New Issue
Block a user