Commit 6482dc8
Fix: Don't prompt to fetch additional remotes when explicitly configured
When users explicitly configure githubPullRequests.remotes, the extension
should automatically fetch from all configured remotes instead of prompting
"Continue fetching from other remotes" after finding results in the first one.
This change modifies the fetchPagedData method to detect when remotes have
been explicitly configured (via global, workspace, or folder settings) and
skips the early break logic that was causing the prompt to appear.
Fixes microsoft/vscode-pull-request-github#XXXXX
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent 1c2f23d commit 6482dc8
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1089 | 1093 | | |
1090 | 1094 | | |
1091 | 1095 | | |
| |||
1152 | 1156 | | |
1153 | 1157 | | |
1154 | 1158 | | |
| 1159 | + | |
1155 | 1160 | | |
1156 | 1161 | | |
1157 | 1162 | | |
1158 | | - | |
| 1163 | + | |
| 1164 | + | |
1159 | 1165 | | |
1160 | 1166 | | |
1161 | 1167 | | |
| |||
0 commit comments