linkinator
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -123,2 +123,5 @@ "use strict"; | ||
const expandedPaths = await glob(path); | ||
if (expandedPaths.length === 0) { | ||
throw new Error(`The provided glob "${path}" returned 0 results. The current working directory is "${process.cwd()}".`); | ||
} | ||
paths.push(...expandedPaths); | ||
@@ -125,0 +128,0 @@ } |
{ | ||
"name": "linkinator", | ||
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"license": "MIT", | ||
@@ -20,3 +20,4 @@ "repository": "JustinBeckwith/linkinator", | ||
"lint": "gts lint", | ||
"build-binaries": "pkg . --out-path build/binaries" | ||
"build-binaries": "pkg . --out-path build/binaries", | ||
"docs-test": "npm link && linkinator ./README.md" | ||
}, | ||
@@ -39,3 +40,3 @@ "dependencies": { | ||
"@types/chai": "^4.2.7", | ||
"@types/cheerio": "^0.22.10", | ||
"@types/cheerio": "0.22.22", | ||
"@types/finalhandler": "^1.1.0", | ||
@@ -42,0 +43,0 @@ "@types/glob": "^7.1.3", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62800
804