instruckt 0.4.25 → 0.4.26

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.
@@ -3839,7 +3839,7 @@ No open annotations.`;
3839
3839
  lines.push("");
3840
3840
  const hPrefix = multiPage ? "###" : "##";
3841
3841
  annotations.forEach((a, i) => {
3842
- var _a2, _b, _c, _d;
3842
+ var _a2, _b, _c, _d, _e;
3843
3843
  const componentSuffix = ((_a2 = a.framework) == null ? void 0 : _a2.component) ? ` in \`${a.framework.component}\`` : "";
3844
3844
  lines.push(`${hPrefix} ${i + 1}. ${a.comment}`);
3845
3845
  lines.push(`- ID: \`${a.id}\``);
@@ -3860,7 +3860,8 @@ No open annotations.`;
3860
3860
  }
3861
3861
  if (a.screenshot) {
3862
3862
  if (!a.screenshot.startsWith("data:")) {
3863
- lines.push(`- Screenshot: \`storage/app/_instruckt/${a.screenshot}\``);
3863
+ const screenshotPath = (_e = this.config.screenshotPath) != null ? _e : "storage/app/_instruckt/";
3864
+ lines.push(`- Screenshot: \`${screenshotPath}${a.screenshot}\``);
3864
3865
  } else {
3865
3866
  lines.push(`- Screenshot: attached`);
3866
3867
  }