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 aae226d commit 8acb051Copy full SHA for 8acb051
src/github/createPRViewProvider.ts
@@ -807,12 +807,7 @@ export class CreatePullRequestViewProvider extends BaseCreatePullRequestViewProv
807
const templates = await this._folderRepositoryManager.getAllPullRequestTemplates(this.model.baseOwner);
808
809
if (!templates || templates.length === 0) {
810
- vscode.window.showInformationMessage(vscode.l10n.t('No pull request templates found'));
811
- return this._replyMessage(message, undefined);
812
- }
813
-
814
- if (templates.length === 1) {
815
- vscode.window.showInformationMessage(vscode.l10n.t('Only one template is available'));
+ vscode.window.showQuickPick([vscode.l10n.t('No pull request templates found')]);
816
return this._replyMessage(message, undefined);
817
}
818
0 commit comments