Skip to content

Commit a94793f

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/action/src/codeql.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
3434
export async function runCommand(
3535
config: CodeQLConfig,
3636
args: string[],
37-
cwd?: string,
37+
cwd_arg?: string,
3838
): Promise<any> {
3939
var bin = path.join(config.path, "codeql");
4040
let output = "";
41-
var _cwd: string = process.cwd();
42-
if (cwd) {
43-
_cwd = cwd;
41+
var cwd: string = process.cwd();
42+
if (cwd_arg) {
43+
cwd = cwd_arg;
4444
}
45+
core.info("Current working directory: " + cwd);
4546
var options = {
4647
cwd: cwd,
4748
listeners: {

0 commit comments

Comments
 (0)