azu / azu/git-commit-push-via-github-api

use of deprecated github api warning

Đang mở
#13 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Type: Maintenance
Ngôn ngữ chính
TypeScript
Star
62
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I am getting this warning please fix it
```
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
Deprecation: [@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.
at authenticate (D:\node_project\node_modules\@octokit\rest\plugins\authentication-deprecated\authenticate.js:11:5)
at exports.gitCommitPush (D:\node_project\node_modules\git-commit-push-via-github-api\lib\git-commit-push-via-github-api.js:126:16)
at D:\node_project\routes\notices\notification.js:199:17
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
name: 'Deprecation'
}
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.