Skip to content

Commit

Permalink
fix: show active --follow-xml-sitemap in brief
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 25, 2020
1 parent b630366 commit bbefbd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ program.outBrief = (options) => {
},
{
name: 'Follow sitemap.xml',
value: (program.followSitemapXml ? 'yes' : 'no'),
comment: (!program.followSitemapXml ? '--follow-xml-sitemap' : ''),
value: (program.followXmlSitemap ? 'yes' : 'no'),
comment: (!program.followXmlSitemap ? '--follow-xml-sitemap' : ''),
},
{
name: 'Max depth',
Expand Down
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ io.on("connection", onSocketConnection);


async function onScan(url, args, socket) {
// log(`> site-audit-seo ` + args, socket);
log(`> site-audit-seo ` + (url ? `-u ${url} ` : '') + args, socket);
args = args.split(" ");
if (!url) {
log("URL not defined!", socket);
Expand Down

0 comments on commit bbefbd9

Please sign in to comment.