Skip to content

Commit

Permalink
fix: upstream command api change
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Sep 23, 2024
1 parent c0b7a12 commit d31bdfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tasks/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export async function buildRunKnipCommand(buildScriptName: string): Promise<stri
if (!cmd) {
throw new Error("Unable to generate command for package manager");
}
const command = `${cmd.command} ${cmd.args.join(" ")}`;
core.debug(`[buildRunKnipCommand] command: '${command}'`);

core.debug(`knip command: ${cmd}`);

return cmd;
return command;
}

export async function run(runCmd: string): Promise<string> {
Expand Down

0 comments on commit d31bdfa

Please sign in to comment.