Skip to content

Commit

Permalink
fix: resolve types
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Oct 15, 2024
1 parent 064466e commit 35278c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ describe("API", () => {
annotations: true,
verbose: false,
ignoreResults: false,
workingDirectory: ".",
};

beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GITHUB_COMMENT_MAX_COMMENT_LENGTH } from "../api.ts";
import { timeTask } from "./task.ts";
import type { ItemMeta } from "./types.ts";

export async function buildRunKnipCommand(buildScriptName: string, cwd: string): Promise<string> {
export async function buildRunKnipCommand(buildScriptName: string, cwd?: string): Promise<string> {
const cmd = await getCliCommand(parseNr, [buildScriptName, "--reporter json"], {
programmatic: true,
cwd,
Expand Down

0 comments on commit 35278c0

Please sign in to comment.