@nsshunt/stsrunnerframework 1.0.121 → 1.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2407,9 +2407,10 @@ class STSWorkerManager {
|
|
|
2407
2407
|
throw error;
|
|
2408
2408
|
}
|
|
2409
2409
|
});
|
|
2410
|
-
|
|
2410
|
+
// Filter by plan and/or tag. Leave blank to not use in filter.
|
|
2411
|
+
__publicField(this, "GetArchiveList", (plan, tag) => {
|
|
2411
2412
|
try {
|
|
2412
|
-
return __privateGet(this, _archiveList).filter((runner) => tag.localeCompare("") === 0 ? true : runner.options.tag.localeCompare(tag) === 0);
|
|
2413
|
+
return __privateGet(this, _archiveList).filter((runner) => plan.localeCompare("") === 0 ? true : runner.options.plan.localeCompare(plan) === 0).filter((runner) => tag.localeCompare("") === 0 ? true : runner.options.tag.localeCompare(tag) === 0);
|
|
2413
2414
|
} catch (error) {
|
|
2414
2415
|
__privateGet(this, _error2).call(this, `GetArchiveList(): Error: [${error}]`);
|
|
2415
2416
|
throw error;
|