fix(ci/config): Update CI workflow environment variables, refine package metadata, and improve configuration settings

This commit is contained in:
2025-04-06 19:00:35 +00:00
parent 667357c8e4
commit bb838fd16f
9 changed files with 37 additions and 21 deletions

View File

@@ -58,11 +58,11 @@ export class SmartMongo {
public async stopAndDumpToDir(
dirArg: string,
nameFunctionArg?: (doc: any) => string,
emptyDirArg = true
emptyDirArg = true,
) {
const mongodumpInstance = new plugins.mongodump.MongoDump();
const mongodumpTarget = await mongodumpInstance.addMongoTargetByMongoDescriptor(
await this.getMongoDescriptor()
await this.getMongoDescriptor(),
);
await mongodumpTarget.dumpAllCollectionsToDir(dirArg, nameFunctionArg, emptyDirArg);
await mongodumpInstance.stop();