Skip to content

Commit

Permalink
chore: deprecate github/username utility (#1605)
Browse files Browse the repository at this point in the history
* chore: deprecate github/username utility

* Update user.ts
  • Loading branch information
mshima authored Feb 27, 2025
1 parent aaf053b commit 284f7a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/actions/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 with `await this.git.email()` result instead.
*
* Retrieves GitHub's username from the GitHub API
* @return Resolved with the GitHub username or rejected if unable to
* get the information
Expand Down

0 comments on commit 284f7a4

Please sign in to comment.