update dist

This commit is contained in:
Eli Reisman
2022-05-11 20:03:29 +00:00
committed by GitHub
parent cabd238caa
commit 7dcdeab949
2 changed files with 4 additions and 1 deletions
Generated Vendored
+3
View File
@@ -142,6 +142,9 @@ function run() {
}
catch (error) {
if (error instanceof request_error_1.RequestError && error.status === 404) {
core.setFailed(`Dependency review could not obtain dependency data for the specified owner, repository, or revision range.`);
}
else if (error instanceof request_error_1.RequestError && error.status === 403) {
core.setFailed(`Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled, see https://github.com/${github.context.repo.owner}/${github.context.repo.repo}/settings/security_analysis`);
}
else if (error instanceof Error) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long