Skip to content

Commit

Permalink
Update packages version
Browse files Browse the repository at this point in the history
  • Loading branch information
kanga333 committed Oct 23, 2022
1 parent 8306389 commit 80de269
Show file tree
Hide file tree
Showing 9 changed files with 8,431 additions and 13,909 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"project": "./tsconfig.json"
},
"rules": {
"i18n-text/no-en": "off",
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
Expand Down
8,866 changes: 4,136 additions & 4,730 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/sourcemap-register.js

Large diffs are not rendered by default.

13,426 changes: 4,266 additions & 9,160 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
"author": "kanga333",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.4.0",
"@actions/github": "^4.0.0"
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.0.2",
"@typescript-eslint/parser": "^4.8.1",
"@vercel/ncc": "^0.28.5",
"eslint": "^7.27.0",
"eslint-plugin-github": "^4.1.3",
"eslint-plugin-jest": "^24.3.6",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"@types/jest": "^29.2.0",
"@types/node": "^18.11.3",
"@typescript-eslint/parser": "^5.40.1",
"@vercel/ncc": "^0.34.0",
"eslint": "^8.26.0",
"eslint-plugin-github": "^4.4.0",
"eslint-plugin-jest": "^27.1.3",
"jest": "^29.2.1",
"jest-circus": "^29.2.1",
"js-yaml": "^4.1.0",
"nock": "^13.1.0",
"prettier": "2.2.1",
"ts-jest": "^26.5.5",
"typescript": "^4.3.2"
"nock": "^13.2.9",
"prettier": "2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Client {
}

async SelectComments(userName: string): Promise<string[]> {
const resp = await this.octokit.issues.listComments({
const resp = await this.octokit.rest.issues.listComments({
owner: this.owner,
repo: this.repo,
issue_number: this.issueNumber
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function run(): Promise<void> {
}
} catch (error) {
// TODO: more verbose messages than "Error: Not Found" (#29)
core.setFailed(error.message)
if (error instanceof Error) core.setFailed(error.message)
}
}

Expand Down

0 comments on commit 80de269

Please sign in to comment.