Improve error message (#19671)

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
fisker CheungandCopilot Autofix powered by AI authored and GitHub committed 2026-07-19 10:25:41 +08:00
1 parent 351e399362
commit 4716e5f575
1 file changed
+1 -1
@@ -145,7 +145,7 @@ function createDependenciesLicenseBuilder({ packageDisplayName }) {
const dependencies = getDependencies(results);
if (dependencies.length === 0) {
throw new Error("Fail to collect dependencies.");
throw new Error("Failed to collect dependencies.");
}
const text = getLicenseText(