Skip to content
Merged
Changes from 4 commits
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
4 changes: 1 addition & 3 deletions src/main/wrapper/ExecutionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import CxMask from "../mask/CxMask";
import CxAsca from "../asca/CxAsca";

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

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

Expand Down
Loading