Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/wrapper/ExecutionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import CxAsca from "../asca/CxAsca";

let skipValue = false;
const fileSourceFlag = "--file-source"
const scaResolverParamsFlag = "--sca-resolver-params"

function isJsonString(s: string) {
try {
Expand Down Expand Up @@ -53,7 +54,7 @@ function transform(n:string) {
return r;
}
// If the current string is "--file-source", set the flag
if (n === fileSourceFlag) {
if (n === fileSourceFlag || n === "-s" || n === scaResolverParamsFlag) {
skipValue = true;
}

Expand Down