diff --git a/src/actions/user.ts b/src/actions/user.ts index b7d2d0eb..89045a90 100644 --- a/src/actions/user.ts +++ b/src/actions/user.ts @@ -40,9 +40,15 @@ export abstract class GitMixin { return this._git; } + /** + * @deprecated Will be removed in version 8. + * GitHub utilities. + */ get github() { return { /** + * @deprecated Will be removed in version 8. Use 'github-username' package directly instead. + * * Retrieves GitHub's username from the GitHub API * @return Resolved with the GitHub username or rejected if unable to * get the information