Make name of debugging artifact and DB within it configurable

This commit is contained in:
Edoardo Pirovano 2022-01-07 13:11:51 +00:00
parent 848e5140d4
commit e677af3fd0
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
42 changed files with 244 additions and 83 deletions

View file

@ -52,7 +52,9 @@ export async function uploadDatabases(
// Although we are uploading arbitrary file contents to the API, it's worth
// noting that it's the API's job to validate that the contents is acceptable.
// This API method is available to anyone with write access to the repo.
const payload = fs.readFileSync(await bundleDb(config, language, codeql));
const payload = fs.readFileSync(
await bundleDb(config, language, codeql, language)
);
try {
if (useUploadDomain) {
await client.request(