1
0
Fork 0

exposes RequestError

pull/1688/head
George Reith 2024-03-12 17:21:42 +00:00
parent ef77c9d60b
commit 222a48c817
No known key found for this signature in database
GPG Key ID: 19ECFB84378F1634
3 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,8 @@
"@actions/http-client": "^2.2.0", "@actions/http-client": "^2.2.0",
"@octokit/core": "^5.0.1", "@octokit/core": "^5.0.1",
"@octokit/plugin-paginate-rest": "^9.0.0", "@octokit/plugin-paginate-rest": "^9.0.0",
"@octokit/plugin-rest-endpoint-methods": "^10.0.0" "@octokit/plugin-rest-endpoint-methods": "^10.0.0",
"@octokit/request-error": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"proxy": "^2.1.1" "proxy": "^2.1.1"

View File

@ -41,7 +41,8 @@
"@actions/http-client": "^2.2.0", "@actions/http-client": "^2.2.0",
"@octokit/core": "^5.0.1", "@octokit/core": "^5.0.1",
"@octokit/plugin-paginate-rest": "^9.0.0", "@octokit/plugin-paginate-rest": "^9.0.0",
"@octokit/plugin-rest-endpoint-methods": "^10.0.0" "@octokit/plugin-rest-endpoint-methods": "^10.0.0",
"@octokit/request-error": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"proxy": "^2.1.1" "proxy": "^2.1.1"

View File

@ -3,6 +3,7 @@ import {GitHub, getOctokitOptions} from './utils'
// octokit + plugins // octokit + plugins
import {OctokitOptions, OctokitPlugin} from '@octokit/core/dist-types/types' import {OctokitOptions, OctokitPlugin} from '@octokit/core/dist-types/types'
export {RequestError} from '@octokit/request-error';
export const context = new Context.Context() export const context = new Context.Context()