dsh-sessions-manager 3.5.3 → 3.5.4

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.
package/lib/index.js CHANGED
@@ -1580,7 +1580,7 @@ function apply(ctx) {
1580
1580
  const entry = store.items.find((t) => String(t.sessionId) === sid);
1581
1581
  let originalPath = entry && typeof entry.originalPath === "string" ? entry.originalPath : null;
1582
1582
  if (!originalPath && header) {
1583
- const loc = persistence.locate(header);
1583
+ const loc = await persistence.locateVerified(header).catch(() => null);
1584
1584
  if (loc && typeof loc.path === "string") originalPath = loc.path;
1585
1585
  }
1586
1586
  if (originalPath) {