Skip to content

Commit 0fdeb2f

Browse files
committed
fix(cli): disambiguate query call sites
1 parent fd0c9a3 commit 0fdeb2f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/src/commands/fix/pull-request.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export async function getSocketFixPrsWithContext(
325325
() =>
326326
octokitGraphql(
327327
`
328-
query($owner: String!, $repo: String!, $states: [PullRequestState!], $after: String) {
328+
query PullRequests($owner: String!, $repo: String!, $states: [PullRequestState!], $after: String) {
329329
repository(owner: $owner, name: $repo) {
330330
pullRequests(first: 100, states: $states, after: $after, orderBy: {field: CREATED_AT, direction: DESC}) {
331331
pageInfo {

packages/cli/src/commands/manifest/bazel/bazel-query-runner.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export async function runBazelQuery(
378378
const spinner = getDefaultSpinner()
379379
let result: BazelQueryResult | undefined
380380
try {
381-
spinner.start(`Running bazel query (${queryStr.slice(0, 80)})…`)
381+
spinner.start(`Running bazel query: ${queryStr.slice(0, 80)}…`)
382382
const spawnOutput = await spawn(cfg.bin, argv, {
383383
cwd: cfg.cwd,
384384
timeout: BAZEL_QUERY_TIMEOUT_MS,

packages/cli/src/util/git/github-provider.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export class GitHubProvider implements PrProvider {
201201
() =>
202202
octokitGraphql<GqlPullRequestsResponse>(
203203
`
204-
query($owner: String!, $repo: String!, $states: [PullRequestState!], $after: String) {
204+
query PullRequests($owner: String!, $repo: String!, $states: [PullRequestState!], $after: String) {
205205
repository(owner: $owner, name: $repo) {
206206
pullRequests(first: 100, states: $states, after: $after, orderBy: {field: CREATED_AT, direction: DESC}) {
207207
pageInfo {

0 commit comments

Comments
 (0)