Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/src/imports/update.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parseArgs } from "@std/cli/parse-args";
import { createHttpError } from "@std/http";
import { createHttpError } from "@std/http/http-errors";
import { dirname, join, relative } from "@std/path";

// Regex for https://deno.land/x/deno_slack_api@x.x.x/
Expand Down
2 changes: 1 addition & 1 deletion scripts/src/imports/update_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isHttpError } from "@std/http";
import { isHttpError } from "@std/http/http-errors";
import { assertEquals, assertRejects } from "@std/assert";
import { apiDepsIn } from "./update.ts";
import { stubFetch } from "../../../testing/http.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/api_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
assertRejects,
} from "@std/assert";
import { SlackAPI } from "./mod.ts";
import { HttpError } from "@std/http";
import { HttpError } from "@std/http/http-errors";
import { stubFetch } from "../testing/http.ts";

Deno.test("SlackAPI class", async (t) => {
Expand Down
2 changes: 1 addition & 1 deletion src/base-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
SlackAPIMethodArgs,
SlackAPIOptions,
} from "./types.ts";
import { createHttpError, type HttpError } from "@std/http";
import { createHttpError, type HttpError } from "@std/http/http-errors";
import { getUserAgent, serializeData } from "./base-client-helpers.ts";

export class BaseSlackAPIClient implements BaseSlackClient {
Expand All @@ -28,7 +28,7 @@
return this;
}

// TODO: [brk-chg] return the `Promise<Response>` object

Check warning on line 31 in src/base-client.ts

View workflow job for this annotation

GitHub Actions / Health Score

src/base-client.ts#L31

Problematic comment ("TODO") identified
async apiCall(
method: string,
data: SlackAPIMethodArgs = {},
Expand All @@ -53,7 +53,7 @@
return await this.createBaseResponse(response);
}

// TODO: [brk-chg] return a `Promise<Response>` object

Check warning on line 56 in src/base-client.ts

View workflow job for this annotation

GitHub Actions / Health Score

src/base-client.ts#L56

Problematic comment ("TODO") identified
async response(
url: string,
data: Record<string, unknown>,
Expand Down
Loading