We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9f3006 commit a94793fCopy full SHA for a94793f
1 file changed
.github/action/src/codeql.ts
@@ -34,14 +34,15 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
34
export async function runCommand(
35
config: CodeQLConfig,
36
args: string[],
37
- cwd?: string,
+ cwd_arg?: string,
38
): Promise<any> {
39
var bin = path.join(config.path, "codeql");
40
let output = "";
41
- var _cwd: string = process.cwd();
42
- if (cwd) {
43
- _cwd = cwd;
+ var cwd: string = process.cwd();
+ if (cwd_arg) {
+ cwd = cwd_arg;
44
}
45
+ core.info("Current working directory: " + cwd);
46
var options = {
47
cwd: cwd,
48
listeners: {
0 commit comments