Skip to content

Commit e9f3006

Browse files
author
Alvaro Muñoz
committed
fix(actions): pass the qlpack dirs
1 parent c58c4e0 commit e9f3006

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/action/src/codeql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ export async function downloadPack(codeql: CodeQLConfig): Promise<boolean> {
107107

108108
export async function installPack(
109109
codeql: CodeQLConfig,
110-
path: string,
110+
dir: string,
111111
): Promise<boolean> {
112112
try {
113-
await runCommand(codeql, ["pack", "install"], path);
114-
await runCommand(codeql, ["pack", "install"], path);
113+
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/lib"));
114+
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/src"));
115115
return true;
116116
} catch (error) {
117117
core.warning("Failed to install local packs ...");

0 commit comments

Comments
 (0)