More descriptive partial db bundle messages
This commit is contained in:
parent
52de49c899
commit
ebc59ec8da
1 changed files with 4 additions and 4 deletions
|
|
@ -36,14 +36,14 @@ export async function uploadDatabaseBundleDebugArtifact(
|
||||||
) {
|
) {
|
||||||
for (const language of config.languages) {
|
for (const language of config.languages) {
|
||||||
if (!dbIsFinalized(config, language, logger)) {
|
if (!dbIsFinalized(config, language, logger)) {
|
||||||
core.info(
|
|
||||||
`${config.debugDatabaseName}-${language} is not finalized. Uploading partial database bundle...`
|
|
||||||
);
|
|
||||||
// Zip up files and upload directly.
|
// Zip up files and upload directly.
|
||||||
const databasePath = getCodeQLDatabasePath(config, language);
|
const databasePath = getCodeQLDatabasePath(config, language);
|
||||||
const databaseBundlePath = path.resolve(
|
const databaseBundlePath = path.resolve(
|
||||||
config.dbLocation,
|
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.
|
// See `bundleDb` for explanation behind deleting existing db bundle.
|
||||||
if (fs.existsSync(databaseBundlePath)) {
|
if (fs.existsSync(databaseBundlePath)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue