Skip to content

Commit 0e23d56

Browse files
committed
Make more changes to repro the bug
1 parent 67e7726 commit 0e23d56

File tree

9 files changed

+21
-3
lines changed

9 files changed

+21
-3
lines changed

src/commands.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
import * as pathLib from 'path';
1111
import * as vscode from 'vscode';
12+
13+
1214
import { GitErrorCodes } from './api/api1';
1315
import { CommentReply, resolveCommentHandler } from './commentHandlerResolver';
1416
import { IComment } from './common/comment';

src/commentHandlerResolver.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99

1010
import * as vscode from 'vscode';
11+
12+
1113
import Logger from './common/logger';
1214
import { GHPRComment, GHPRCommentThread, TemporaryComment } from './github/prComment';
1315

src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
export const EXTENSION_ID = 'GitHub.vscode-pull-request-github';
1010
export const VSLS_REQUEST_NAME = 'git';
11+
12+
1113
export const VSLS_GIT_PR_SESSION_NAME = 'ghpr';
1214

1315
export const VSLS_REPOSITORY_INITIALIZATION_NAME = 'initialize';

src/experimentationService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import {
1616

1717
} from 'vscode-tas-client';
1818

19+
20+
1921
/* __GDPR__
2022
2123
"query-expfeature" : {

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import TelemetryReporter from 'vscode-extension-telemetry';
1010
import { LiveShare } from 'vsls/vscode.js';
1111
import { Repository } from './api/api';
1212
import { GitApiImpl } from './api/api1';
13+
14+
1315
import { registerCommands } from './commands';
1416
import Logger from './common/logger';
1517
import * as PersistentState from './common/persistentState';

src/extensionState.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ export interface ReposState {
2626

2727
export function setSyncedKeys(context: vscode.ExtensionContext) {
2828
context.globalState.setKeysForSync([NEVER_SHOW_PULL_NOTIFICATION]);
29-
}
29+
}
30+
31+

src/gitExtensionIntegration.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { OctokitCommon } from './github/common';
88
import { AuthProvider, CredentialStore, GitHub } from './github/credentials';
99

1010

11+
12+
1113
interface Repository {
1214
readonly full_name: string;
1315
readonly description: string | null;
@@ -22,7 +24,7 @@ function repoResponseAsRemoteSource(raw: OctokitCommon.SearchReposResponseItem):
2224
description: raw.description || undefined,
2325
url: raw.url,
2426
};
25-
27+
2628
}
2729

2830
function asRemoteSource(raw: Repository): RemoteSource {

src/gitProviders/builtinGit.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ export class BuiltinGitProvider implements IGit, vscode.Disposable {
1313
}
1414

1515

16+
17+
1618
get state(): APIState {
1719
return this._gitAPI.state;
1820

1921

2022
}
2123

2224

23-
25+
2426
private _onDidOpenRepository = new vscode.EventEmitter<Repository>();
2527
readonly onDidOpenRepository: vscode.Event<Repository> = this._onDidOpenRepository.event;
2628
private _onDidCloseRepository = new vscode.EventEmitter<Repository>();

src/gitProviders/vslshost.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import {
1111
VSLS_REPOSITORY_INITIALIZATION_NAME,
1212
VSLS_REQUEST_NAME,
1313
VSLS_STATE_CHANGE_NOTIFY_NAME,
14+
15+
1416
} from '../constants';
1517

1618

0 commit comments

Comments
 (0)