@@ -31,19 +31,19 @@ export class AuthenticatedGitClient extends GitClient {
3131 private _cachedOauthScopes : Promise < string [ ] > | null = null ;
3232
3333 /** Instance of an authenticated github client. */
34- readonly github = new AuthenticatedGithubClient ( this . githubToken ) ;
34+ override readonly github = new AuthenticatedGithubClient ( this . githubToken ) ;
3535
3636 protected constructor ( readonly githubToken : string , baseDir ?: string , config ?: NgDevConfig ) {
3737 super ( baseDir , config ) ;
3838 }
3939
4040 /** Sanitizes a given message by omitting the provided Github token if present. */
41- sanitizeConsoleOutput ( value : string ) : string {
41+ override sanitizeConsoleOutput ( value : string ) : string {
4242 return value . replace ( this . _githubTokenRegex , '<TOKEN>' ) ;
4343 }
4444
4545 /** Git URL that resolves to the configured repository. */
46- getRepoGitUrl ( ) {
46+ override getRepoGitUrl ( ) {
4747 return getRepositoryGitUrl ( this . remoteConfig , this . githubToken ) ;
4848 }
4949
@@ -102,7 +102,7 @@ export class AuthenticatedGitClient extends GitClient {
102102 * Static method to get the singleton instance of the `AuthenticatedGitClient`,
103103 * creating it if it has not yet been created.
104104 */
105- static get ( ) : AuthenticatedGitClient {
105+ static override get ( ) : AuthenticatedGitClient {
106106 if ( ! AuthenticatedGitClient . _authenticatedInstance ) {
107107 throw new Error ( 'No instance of `AuthenticatedGitClient` has been set up yet.' ) ;
108108 }
0 commit comments