@tangle-network/agent-app 0.63.49 → 0.63.50
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.
|
@@ -896,10 +896,10 @@ function protectLegacyRuns(cacheDir, active) {
|
|
|
896
896
|
if (!entry.isDirectory()) continue;
|
|
897
897
|
const tree = join4(trees, entry.name);
|
|
898
898
|
if (active.paths.has(tree) || !existsSync4(join4(tree, ".git"))) continue;
|
|
899
|
-
const
|
|
899
|
+
const modern = /-\d+-[a-f\d]{8}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{4}-[a-f\d]{12}$/i.test(entry.name);
|
|
900
|
+
const match = modern ? null : /-(\d+)$/.exec(entry.name);
|
|
900
901
|
if (!match) continue;
|
|
901
|
-
|
|
902
|
-
if (alive({ pid, host: hostname(), processStart: null, tree, storeKey: null })) {
|
|
902
|
+
if (alive({ pid: Number(match[1]), host: hostname(), processStart: null, tree, storeKey: null })) {
|
|
903
903
|
active.paths.add(tree);
|
|
904
904
|
active.unknown = true;
|
|
905
905
|
}
|
|
@@ -3020,4 +3020,4 @@ export {
|
|
|
3020
3020
|
formatWorkspaceSurfaceReport,
|
|
3021
3021
|
runWorkspaceSurfaceCli
|
|
3022
3022
|
};
|
|
3023
|
-
//# sourceMappingURL=chunk-
|
|
3023
|
+
//# sourceMappingURL=chunk-5JWCHA7J.js.map
|