Skip to content

Commit

Permalink
More descriptive partial db bundle messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Angela P Wen committed Aug 1, 2022
1 parent 52de49c commit ebc59ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/init-action-cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export async function uploadDatabaseBundleDebugArtifact(
) {
for (const language of config.languages) {
if (!dbIsFinalized(config, language, logger)) {
core.info(
`${config.debugDatabaseName}-${language} is not finalized. Uploading partial database bundle...`
);
// Zip up files and upload directly.
const databasePath = getCodeQLDatabasePath(config, language);
const databaseBundlePath = path.resolve(
config.dbLocation,
`${config.debugDatabaseName}.zip`
`${config.debugDatabaseName}-${language}-partial.zip`
);
core.info(
`${config.debugDatabaseName}-${language} is not finalized. Uploading partial database bundle at ${databaseBundlePath}...`
);
// See `bundleDb` for explanation behind deleting existing db bundle.
if (fs.existsSync(databaseBundlePath)) {
Expand Down

0 comments on commit ebc59ec

Please sign in to comment.