File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " spidergram" ,
3- "version" : " 0.8.1 " ,
3+ "version" : " 0.8.2 " ,
44 "description" : " Structural analysis tools for complex web sites" ,
55 "main" : " ./dist/index.js" ,
66 "exports" : " ./dist/index.js" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default class Urls extends SgCommand {
1414 '<%= config.bin %> <%= command.id %>' ,
1515 '<%= config.bin %> <%= command.id %> urls.txt' ,
1616 '<%= config.bin %> <%= command.id %> --preset=collapse' ,
17- "<%= config.bin %> <%= command.id %> --depth=5 --maxChildren =10 --highlight='**/*.pdf'" ,
17+ "<%= config.bin %> <%= command.id %> --depth=5 --children =10 --highlight='**/*.pdf'" ,
1818 ] ;
1919
2020 static flags = {
@@ -173,7 +173,7 @@ export default class Urls extends SgCommand {
173173 if ( hosts . size > 1 ) {
174174 summary [ 'Unique Hosts' ] = flags . hosts ? [ ...hosts ] : [ ...hosts ] . length ;
175175 }
176- if ( filteredUrls . length > 0 ) {
176+ if ( rawUrls . length - filteredUrls . length > 0 ) {
177177 summary [ 'Hidden URLs' ] = rawUrls . length - filteredUrls . length ;
178178 }
179179 if ( urls . unparsable . size ) {
@@ -194,7 +194,7 @@ export default class Urls extends SgCommand {
194194
195195 const renderOptions : HierarchyTools . RenderOptions = {
196196 preset : flags . preset ,
197- maxChildren : flags . childern ,
197+ maxChildren : flags . children ,
198198 maxDepth : flags . depth ,
199199 label : item => {
200200 if ( item instanceof HierarchyTools . UrlHierarchyItem ) {
You can’t perform that action at this time.
0 commit comments