We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93846ca commit 1d96980Copy full SHA for 1d96980
extensions/github/src/links.ts
@@ -191,6 +191,8 @@ export function getVscodeDevHost(): string {
191
}
192
193
export async function ensurePublished(repository: Repository, file: vscode.Uri) {
194
+ await repository.status();
195
+
196
if ((repository.state.HEAD?.type === RefType.Head || repository.state.HEAD?.type === RefType.Tag)
197
// If HEAD is not published, make sure it is
198
&& !repository?.state.HEAD?.upstream
0 commit comments