Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Issue response: attempt to fix url again (#25184)

Joseph T. Lyons78b43ba745fd
diff --git a/script/issue_response/main.js b/script/issue_response/main.js
index 36a604cd0c5..c7848cfe2d6 100644
--- a/script/issue_response/main.js
+++ b/script/issue_response/main.js
@@ -43,10 +43,8 @@ async function main() {
...authorFilters,
];
- const searchQuery = q.join("+");
-
const response = await octokit.rest.search.issuesAndPullRequests({
- q: searchQuery,
+ q: q.join("+"),
per_page: 100,
});
@@ -96,7 +94,7 @@ async function main() {
},
}));
- const issuesUrl = `${GITHUB_ISSUES_URL}?q=${searchQuery}`;
+ const issuesUrl = `${GITHUB_ISSUES_URL}?q=${encodeURIComponent(q.join(" "))}`;
blocks.push({
type: "section",