mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
fix(actions): pass the qlpack dirs
This commit is contained in:
9
.github/action/src/codeql.ts
vendored
9
.github/action/src/codeql.ts
vendored
@@ -34,14 +34,15 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
|
||||
export async function runCommand(
|
||||
config: CodeQLConfig,
|
||||
args: string[],
|
||||
cwd?: string,
|
||||
cwd_arg?: string,
|
||||
): Promise<any> {
|
||||
var bin = path.join(config.path, "codeql");
|
||||
let output = "";
|
||||
var _cwd: string = process.cwd();
|
||||
if (cwd) {
|
||||
_cwd = cwd;
|
||||
var cwd: string = process.cwd();
|
||||
if (cwd_arg) {
|
||||
cwd = cwd_arg;
|
||||
}
|
||||
core.info("Current working directory: " + cwd);
|
||||
var options = {
|
||||
cwd: cwd,
|
||||
listeners: {
|
||||
|
||||
Reference in New Issue
Block a user