all-contributors-cli
Advanced tools
Comparing version 6.17.3 to 6.17.4
@@ -111,3 +111,7 @@ "use strict"; | ||
if (!profile && body.message) { | ||
throw new Error(`Login not found when adding a contributor for username - ${username}.`); | ||
if (body.message.toLowerCase().includes('api rate limit exceeded')) { | ||
throw new Error(body.message); | ||
} else { | ||
throw new Error(`The username ${username} doesn't exist on GitHub.`); | ||
} | ||
} | ||
@@ -114,0 +118,0 @@ |
{ | ||
"name": "all-contributors-cli", | ||
"version": "6.17.3", | ||
"version": "6.17.4", | ||
"description": "Tool to easily add recognition for new contributors", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
70788
1252