Skip to content

Commit

Permalink
Merge pull request #637 from Checkmarx/other/benalvo/update-runtime-w…
Browse files Browse the repository at this point in the history
…rapper-version

Upgrade Runtime Wrapper Version
  • Loading branch information
AlvoBen authored Nov 27, 2024
2 parents 17fd9a4 + 9f26ff3 commit ec8a7cf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Each line is a file pattern followed by one or more owners

# Specify the default owners for the entire repository
* @OrShamirCM @AlvoBen
* @OrShamirCM @AlvoBen @miryamfoiferCX
14 changes: 7 additions & 7 deletions cxAstScan/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cxAstScan/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"azure-pipelines-task-lib": "4.13.0",
"@checkmarxdev/ast-cli-javascript-wrapper-runtime-cli": "1.0.4"
"@checkmarxdev/ast-cli-javascript-wrapper-runtime-cli": "1.0.7"
}
}
6 changes: 2 additions & 4 deletions cxAstScan/services/Utils.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as taskLib from "azure-pipelines-task-lib/task";
import { CxConfig } from "@checkmarxdev/ast-cli-javascript-wrapper-runtime-cli/dist/main/wrapper/CxConfig";
import {CxConfig} from "@checkmarxdev/ast-cli-javascript-wrapper-runtime-cli/dist/main/wrapper/CxConfig";
import * as path from "path"

export function getLogFilename(): string {
const tempAgentDir = taskLib.getVariable('Agent.TempDirectory');
const buildId = taskLib.getVariable('Build.BuildId');
const pathname = path.join(tempAgentDir !== undefined ? tempAgentDir : "", "CxLog_" + buildId + ".txt");

return pathname;
return path.join(tempAgentDir !== undefined ? tempAgentDir : "", "CxLog_" + buildId + ".txt");
}

export function getConfiguration() {
Expand Down

0 comments on commit ec8a7cf

Please sign in to comment.