Skip to content

Commit

Permalink
chore: update to exhort-javascript-api version supporting RDHA_TOKEN …
Browse files Browse the repository at this point in the history
…and RHDA_SOURCE (#215)
  • Loading branch information
IlonaShishov authored Oct 8, 2023
1 parent dd0ba8e commit 5012095
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"dist"
],
"dependencies": {
"@RHEcosystemAppEng/exhort-javascript-api": "^0.0.2-ea.29",
"@RHEcosystemAppEng/exhort-javascript-api": "^0.0.2-ea.32",
"@xml-tools/ast": "^5.0.5",
"@xml-tools/parser": "^1.0.11",
"compare-versions": "^6.0.0-rc.1",
"json-to-ast": "^2.1.0",
"mkdirp": "^3.0.1",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-textdocument": "^1.0.11"
"vscode-languageserver-textdocument": "^1.0.8"
},
"devDependencies": {
"@types/chai": "^4.3.5",
Expand Down
3 changes: 2 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ const fetchVulnerabilities = async (fileType: string, reqData: any) => {
'EXHORT_NPM_PATH': globalSettings.npmExecutable,
'EXHORT_GO_PATH': globalSettings.goExecutable,
'EXHORT_DEV_MODE': config.exhort_dev_mode,
'RHDA_TOKEN': config.telemetry_id
'RHDA_TOKEN': config.telemetry_id,
'RHDA_SOURCE': config.utm_source
};
if (globalSettings.exhortSnykToken !== '') {
options['EXHORT_SNYK_TOKEN'] = globalSettings.exhortSnykToken;
Expand Down

0 comments on commit 5012095

Please sign in to comment.