Skip to content

Commit

Permalink
CM-29616 - Add Elixir support for SCA (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Nov 30, 2023
1 parent b9b7ee9 commit 679a594
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/cycodehq/vscode-extension"
},
"homepage": "https://cycode.com/",
"version": "1.0.1",
"version": "1.1.0",
"publisher": "cycode",
"engines": {
"vscode": "^1.63.0"
Expand Down
2 changes: 1 addition & 1 deletion src/cli-wrapper/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export enum CommandParameters {
SCAScanType = 'sca',
}

export const MinCLIVersion = '1.2.0';
export const MinCLIVersion = '1.5.0';
3 changes: 3 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES: ReadonlyArray<string> = [
'pipfile.lock',
'requirements.txt',
'setup.py',
'mix.exs',
'mix.lock',
];

// keep in lowercase. based on _SCA_CONFIGURATION_SCAN_SUPPORTED_FILES
Expand All @@ -50,6 +52,7 @@ const _SCA_CONFIGURATION_SCAN_LOCK_FILE_TO_PACKAGE_FILE: { [key: string]: string
'build.sbt.lock': 'build.sbt', // and build.scala?
'poetry.lock': 'pyproject.toml',
'pipfile.lock': 'pipfile',
'mix.lock': 'mix.exs',
};

const _SCA_CONFIGURATION_SCAN_SUPPORTED_LOCK_FILES: ReadonlyArray<string> =
Expand Down

0 comments on commit 679a594

Please sign in to comment.