Skip to content
Snippets Groups Projects
Commit 6085847a authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix: no failure if no links supplied.

parent 2868fc82
Branches
No related tags found
No related merge requests found
Pipeline #15102 passed
{
"name": "broken-links-inspector",
"version": "1.3.1",
"version": "1.3.2",
"description": "Extract and recursively check all URLs reporting broken ones",
"main": "dist/inspector.js",
"types": "dist/inspector.d.ts",
......
......
......@@ -67,7 +67,7 @@ commander
})
if (urls.length == 0) {
process.exit(1)
process.exit(0)
}
const result = await inspector.processURL(urls, urls.length == 1 ? inspectObj.recursive as boolean : false)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment