@@ -31,19 +31,19 @@ export class AuthenticatedGitClient extends GitClient {
31
31
private _cachedOauthScopes : Promise < string [ ] > | null = null ;
32
32
33
33
/** Instance of an authenticated github client. */
34
- readonly github = new AuthenticatedGithubClient ( this . githubToken ) ;
34
+ override readonly github = new AuthenticatedGithubClient ( this . githubToken ) ;
35
35
36
36
protected constructor ( readonly githubToken : string , baseDir ?: string , config ?: NgDevConfig ) {
37
37
super ( baseDir , config ) ;
38
38
}
39
39
40
40
/** Sanitizes a given message by omitting the provided Github token if present. */
41
- sanitizeConsoleOutput ( value : string ) : string {
41
+ override sanitizeConsoleOutput ( value : string ) : string {
42
42
return value . replace ( this . _githubTokenRegex , '<TOKEN>' ) ;
43
43
}
44
44
45
45
/** Git URL that resolves to the configured repository. */
46
- getRepoGitUrl ( ) {
46
+ override getRepoGitUrl ( ) {
47
47
return getRepositoryGitUrl ( this . remoteConfig , this . githubToken ) ;
48
48
}
49
49
@@ -102,7 +102,7 @@ export class AuthenticatedGitClient extends GitClient {
102
102
* Static method to get the singleton instance of the `AuthenticatedGitClient`,
103
103
* creating it if it has not yet been created.
104
104
*/
105
- static get ( ) : AuthenticatedGitClient {
105
+ static override get ( ) : AuthenticatedGitClient {
106
106
if ( ! AuthenticatedGitClient . _authenticatedInstance ) {
107
107
throw new Error ( 'No instance of `AuthenticatedGitClient` has been set up yet.' ) ;
108
108
}
0 commit comments