Verify NFC P2P with real Obsidian peers in Compose

This commit is contained in:
vorotamoroz committed 2026-11-02 05:03:36 +00:00
1 parent 4982d0188a
commit 8b1f03b1aa
7 files changed
+48 -17

No files matched your search

@@ -85,10 +85,10 @@ async function main(): Promise<void> {
exitCode = 1;
}
}
if (exitCode === 0) {
if (exitCode === 0 && process.env.E2E_P2P_NFC_KEEP_ARTIFACTS !== "1") {
await rm(artifactsDirectory, { recursive: true, force: true });
} else {
console.error("P2P NFC diagnostics were retained at " + artifactsDirectory);
console.log("P2P NFC diagnostics were retained at " + artifactsDirectory);
}
}