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:
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(
|
||||
|
||||
Reference in new issue
Block a user