oh-my-promptfoo 1.22.2-next.125 → 1.22.2

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.
@@ -2243,6 +2243,13 @@ async function readEntry(path) {
2243
2243
  try {
2244
2244
  const opened = await fd.stat();
2245
2245
  if (opened.ino !== before.ino || opened.dev !== before.dev) throw new Error("File changed while opening");
2246
+ if (opened.nlink > 1) return {
2247
+ kind: "file",
2248
+ mode: before.mode & 73 ? "100755" : "100644",
2249
+ size: opened.size,
2250
+ sha256: "sha256:uncaptured",
2251
+ omittedCode: "HARDLINK"
2252
+ };
2246
2253
  const bytes = Buffer.alloc(before.size + 1);
2247
2254
  const { bytesRead } = await fd.read(bytes, 0, bytes.length, 0);
2248
2255
  const content = bytes.subarray(0, bytesRead);