Skip to content

Deprecation message on @octokit/rest while rebooting the app #76

@boubkerbribri

Description

@boubkerbribri

After failing the weekend, it was resolved by rebooting the app.
While rebooting, this message is displayed.

14:35:10.194Z  INFO probot: Listening on http://localhost:3000/
{ Deprecation: [@octokit/rest] Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)
    at authenticationPlugin (/app/node_modules/@octokit/rest/plugins/authentication/index.js:58:5)
    at Octokit.plugins.forEach.pluginFunction (/app/node_modules/@octokit/rest/lib/constructor.js:26:37)
    at Array.forEach (<anonymous>)
    at new Octokit (/app/node_modules/@octokit/rest/lib/constructor.js:26:11)
    at Object.GitHubAPI (/app/node_modules/probot/lib/github/index.js:21:19)
    at cache.wrap.ttl (/app/node_modules/probot/lib/application.js:231:102)
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'Deprecation' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions