Skip to content

Commit 284f7a4

Browse files
authored
chore: deprecate github/username utility (#1605)
* chore: deprecate github/username utility * Update user.ts
1 parent aaf053b commit 284f7a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/actions/user.ts

+6
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,15 @@ export abstract class GitMixin {
4040
return this._git;
4141
}
4242

43+
/**
44+
* @deprecated Will be removed in version 8.
45+
* GitHub utilities.
46+
*/
4347
get github() {
4448
return {
4549
/**
50+
* @deprecated Will be removed in version 8. Use 'github-username' package with `await this.git.email()` result instead.
51+
*
4652
* Retrieves GitHub's username from the GitHub API
4753
* @return Resolved with the GitHub username or rejected if unable to
4854
* get the information

0 commit comments

Comments
 (0)